web.config中的ASP web错误

编程入门 行业动态 更新时间:2024-10-22 20:31:13
本文介绍了web.config中的ASP web错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的网络应用程序出现问题。下面是错误...希望有人可以帮助我...顺便说一句,我在这里使用Dreamweaver而不是Visual Studio

I am having problem with my web application. below is the error... hope someone could help me out here... by the way, i am using dreamweaver here and not Visual Studio

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 9: <system.web> Line 10: <customErrors mode="Off" /> Line 11: <authentication mode="Forms"> Line 12: <forms name=".ASPXAUTH" loginUrl="admin/login.aspx"/> Line 13: </authentication> Source File: C:\inetpub\wwwroot\cristy\dotnetnewsv1.2\web.config Line: 11

推荐答案

此错误可能是由于虚拟目录未配置为IIS中的应用程序造成的。 您可以拥有web.config文件对于子目录。但是,某些属性无法在子目录的web.config中设置,例如身份验证,会话状态。原因是,除非子目录也配置为应用程序,否则无法在子目录级别覆盖这些设置。 原始来源:此处 [ ^ ]。 --Amit This error can be caused by a virtual directory not being configured as an application in IIS. you can have web.config file for the sub-directory. However, there are certain properties which cannot be set in the web.config of the sub-directory such as authentication, session state. The reason is, these settings cannot be overridden at the sub-directory level unless the sub-directory is also configured as an application. Original Source : here[^]. --Amit

更多推荐

web.config中的ASP web错误

本文发布于:2023-11-12 04:20:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580499.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   web   config   ASP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!