Chinaunix首页 | 论坛 | 博客
  • 博客访问: 533536
  • 博文数量: 78
  • 博客积分: 1913
  • 博客等级: 上尉
  • 技术积分: 829
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-14 21:29
文章分类

全部博文(78)

文章存档

2011年(27)

2010年(26)

2009年(20)

2008年(5)

我的朋友

分类: 系统运维

2010-07-17 16:16:14

发布网站后,出现:


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文件中不能再有 配置节。
阅读(5330) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~