authentication mode="Windows" /总是报错,求救!

fsswwxf 2005-11-15 09:21:03
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.



报错的是这一行“<authentication mode="Windows" />”

请问是啥回事?
...全文
337 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sra 2006-03-31
  • 打赏
  • 举报
回复
GOOD方法,我也解决了!
fsswwxf 2005-11-15
  • 打赏
  • 举报
回复
问题按两位所讲的步骤解决了,谢谢!
结贴!
foyuan 2005-11-15
  • 打赏
  • 举报
回复
没有创建虚拟目录!!
IIS里面创建当前虚拟目录的应用程序!!
做法如上!
tiger6000 2005-11-15
  • 打赏
  • 举报
回复
将你的应用程序文件设置为虚拟目录就可以了
设置方法:
在internet管理器里展开你的站点名称,找到你的应用程序文件夹,在上面点右键属性
目录选项卡里有一个应用程序设置,点击“创建”就可以了

62,041

社区成员

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

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

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

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