试了好多方法了,为什么浏览不了

luoluoflying 2009-04-13 10:51:13
环境:xp+iis5.1
我浏览的是光盘里的源码,设置好虚拟目录后有的aspx文件可以浏览,有的则不行,是什么原因啊?下面是报错内容

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 46: 安全身份验证模式。
Line 47: -->
Line 48: <authentication mode="Windows"/>
Line 49: <!--
Line 50: 如果在执行请求的过程中出现未处理的错误,

...全文
31 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
zabcd117 2009-04-13
  • 打赏
  • 举报
回复
看看这句话"This error can be caused by a virtual directory not being configured as an application in IIS. "在IIS里面这个这个虚拟目录,然后右键鼠标,“应用程序”那里确定已经创建试试。

62,074

社区成员

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

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

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

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