发布网站后,出现:
Server Error in '/' Application.
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.
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.
Source Error:
Line 44: ASP.NET to identify an incoming user.
Line 45: -->
Line 46: <authentication mode="Windows"/>
Line 47: <customErrors mode="Off"/>
Line 48: <!--
|
出现这个问题可能是你的虚拟目录没有设置正确,或者除了虚拟目录根目录下的web.config文件外,子目录中的web.config文件中出现了
配置节,记住:除了虚拟目录的根目录外,任何子目录下的web.config文件中不能再有
配置节。
阅读(5367) | 评论(0) | 转发(0) |