.net问题. 发布后网页找不到...

wwwqqq520 2007-03-09 04:35:16
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 11: <system.web>
Line 12: <compilation defaultLanguage="c#" debug="true"/>
Line 13: <customErrors mode="Off"/><authentication mode="Windows"/>
Line 14: <authorization><allow users="*"/></authorization>
Line 15: <trace enabled="false" requestLimit="10"


Source File: C:\Inetpub\ha\article\web.config Line: 13



Show Additional Configuration Errors:


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. (C:\Inetpub\ha\article\web.config line 18)


我个人不太会,似乎是说13行有错误.? 但是我看不懂

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
...全文
189 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
BruceJiao 2011-04-14
  • 打赏
  • 举报
回复
具体点
wwwqqq520 2007-03-09
  • 打赏
  • 举报
回复
谢谢,已解决!!!
xyq1986 2007-03-09
  • 打赏
  • 举报
回复
在IIS里把这个虚拟目录设置成应用程序

62,074

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧