IIS7:“无法识别的配置路径”错误的可能原因 [英] IIS7: Possible causes of 'Unrecognized configuration path' error
问题描述
在IIS7中设置ASP.NET网站后,我收到内部服务器错误(500.19),上面写着:
'无法识别的配置路径'。
After setting up an ASP.NET website in IIS7 I get an Internal Server Error (500.19) that says:
'Unrecognized configuration path'.
这个错误的可能原因是什么?
What are possible causes of this error?
(设置其他ASP.NET网站工作正常,但是对于一个特定的网站,它不起作用,我无法弄清楚差异。)
(Setting up other ASP.NET websites works OK, but for a particular website it does not work and I cannot figure out the difference.)
详细的错误描述:
错误摘要:
HTTP错误500.19 - 内部服务器错误
无法访问请求的页面,因为页面的相关配置数据无效。
详细错误信息:
模块:IIS Web核心
通知:BeginRequest
处理程序:尚未确定
错误代码:0x80070002
配置错误:无法识别的配置路径'MACHINE / WEBROOT / APPHOST / ...'
配置文件:
请求的URL: http:// ...:80 /
物理路径:
登录方法:尚未确定
登录用户:尚未确定
Config来源:
-1:
0:
Error Summary:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information:
Module: IIS Web Core
Notification: BeginRequest
Handler: Not yet determined
Error Code: 0x80070002
Config Error: Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/...'
Config File:
Requested URL: http://...:80/
Physical Path:
Logon Method: Not yet determined
Logon User: Not yet determined
Config Source:
-1:
0:
推荐答案
我发现它取决于网站名称的长度。将名称缩短使其工作(使其更长时间使其崩溃)。
I found out it depended on the length of the name of the website. Making the name shorter made it work (making it longer made it crash).
这篇关于IIS7:“无法识别的配置路径”错误的可能原因的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!