配置错误

问题描述:

配置错误
描述:在处理为此请求提供服务所需的配置文件时发生错误。请查看下面的具体错误详细信息,并相应地修改您的配置文件。

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

解析器错误消息:在应用程序级别之外使用注册为allowDefinition ='MachineToApplication'的段是错误的。此错误可能是由于虚拟目录未在IIS中配置为应用程序引起的。

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

源错误:

Line 24:             ASP.NET to identify an incoming user. 
Line 25:         -->
Line 26:        <authentication mode="Windows"/>
Line 27:     
Line 28:        <!--


ASP.NET引擎正在建议解决这个问题,它是这个错误的最常见的原因:

The ASP.NET engine is suggesting a solution to this problem and it is the most common cause for this error:

-in(Inetmgr.msc),右键单击您的网站,转到属性对话框,在虚拟目录选项卡上的应用程序设置下,单击创建为该网络应用程序创建应用程序。

In the IIS Snap-in (Inetmgr.msc), right click your website, go to the properties dialog and on the Virtual directory tab, under "Application Settings", click "Create" to create an application for the web app.