你们好:
  我作了个新闻系统,我用的是WINDOWS2003SERVER,数据库为SQLSERVER2000
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
     <add key="dsn" value="server=localhost;uid=netfriend;password=19771231;database=cnpg_news" />
     <add key="dsn1" value="server=localhost;database=cnpg_news;Trusted_Connection=no;user id=netfriend;pwd=19771231;" />
   </appSettings>
  <system.web>        
<compilation defaultLanguage="C#" debug="true"/>
<identity impersonate="true" userName="administrator" password="197869"/>

<pages validateRequest="false" />
        <customErrors mode="Off" />
<globalization fileEncoding="gb2312" requestEncoding="gb2312" responseEncoding="gb2312" />
<httpRuntime maxRequestLength="5655648" />
<authentication mode="Windows" /> 就是此句有问题?
        <sessionState mode="InProc" cookieless="true" timeout="80"/>
<trace enabled="true"/>
   
 </system.web></configuration>其中的错误提示为: C:\Inetpub\wwwroot\webnews\新闻系统\webnews\web.config    行: 17 
分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。谢了