500.19-内部服务器错误-无法访问请求的页面,因为该页面的相关配置数据无效 [英] 500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid

查看:231
本文介绍了500.19-内部服务器错误-无法访问请求的页面,因为该页面的相关配置数据无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在每个人读这篇文章之前,我只想说我知道那里有相关的线程,但是我尝试过或者不理解.话虽如此,这里什么都没有...

Before everyone reads this, I just want to say that i know that there are related threads out there, but I have either tried them or do not understand. With that being said here goes nothing...

我正在尝试在IIS中运行MVC Web应用程序.不幸的是,我绝对被这个错误困住了:

I am trying to get a MVC Web App running in my IIS. Unfortunately, I am absolutely stuck on this error:

HTTP Error 500.19 - Internal Server Error

The Request page cannot be accessed becasue the related configuration data for 
the page is invalid.

Module: IIS Web Core
Notification: BeginRequest
Handler: Not yet determined
Error Code: 0x80070005
Config Error: Cannot read configuration file due to insufficient permissions
Config File: \foo\web.config
Request URL: http://localhost/WEBAPP
Logon Method: Not yet determined
Logon User: Not yet determined

Config Source
-1:
0:

我不太确定还能做什么.我还尝试过授予web.config文件的读取权限,但这似乎不起作用.

I am not quite sure what else to do. I have also tried giving read permission to the web.config file and that did not seem to work.

如果任何人有任何信息或能够帮助我完成此工作,将不胜感激.谢谢!

If anyone has any information or would be able to help me work through this it would be much appreciated. Thanks!

推荐答案

在此

On this msdn blog: Troubleshooting HTTP 500.19 Errors in IIS 7 in sceanrio 8 for error code 0x80070005 (E_ACCESSDENIED - General access denied error) it says:

Grant Read permission to the IIS_IUSRS group ...
.... the worker process identity (and/or the IIS_IUSRS group) needs at least Read access to the directory so that it can check for a web.config file in that directory.

Grant Read permission to the IIS_IUSRS group ...
.... the worker process identity (and/or the IIS_IUSRS group) needs at least Read access to the directory so that it can check for a web.config file in that directory.

这篇关于500.19-内部服务器错误-无法访问请求的页面,因为该页面的相关配置数据无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆