IIS 500.19 with 0x80070005 无法访问请求的页面,因为页面的相关配置数据无效错误 [英] IIS 500.19 with 0x80070005 The requested page cannot be accessed because the related configuration data for the page is invalid error

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

问题描述

我想使用 IIS 管理器在 IIS 上上传我自己的 asp.net 网站.但是当我这样做时,我收到以下错误

<块引用>

HTTP 错误 500.19 - 内部服务器错误 请求的页面不能因为页面的相关配置数据被访问无效

<块引用>

模块 IIS Web 核心
通知未知
处理程序尚未确定
错误代码 0x80070005
配置错误由于权限不足无法读取配置文件
配置文件 \?C:UsersYassoDocumentsVisual Studio 2008WebSitesWebSite5web.config

我为这个错误搜索了很多次解决方案,但没有一个解决方案解决了这个错误.

我的 IUSR 帐户有问题.我在 web.config 的属性中的组或用户名"中看不到此帐户.

有什么问题?

解决方案

终于,我得到了解决我的问题的方法.IIS 管理器中没有出现 ASP.net 帐户,因为我没有在 IIS 中选中它的复选框.要在 Windows 7 中执行此操作,请执行以下步骤:

  1. 打开控制面板
  2. 点击程序"链接(不是卸载程序)
  3. 点击打开/关闭 Windows 功能"链接
  4. 在弹出的窗口中找到Internet Information services IIS"并展开其节点
  5. 展开万维网服务"节点
  6. 展开应用开发功能"节点
  7. 选中ASP.NET"复选框
  8. 然后点击确定按钮

现在,您将在 IIS 管理器上看到 ASP.net 帐户,默认情况下您将看到 IIS 帐户.现在,您应该将您的 ASP.net 网站从我的文档"移动到 IIS 有权访问它的另一个地方(即到您计算机上的另一个分区).现在,从 IIS 管理器浏览您的网站,它应该可以工作.

非常感谢 Jeff Turner 提供的解决方案.

I want to upload my own asp.net website on IIS with IIS Manager. But when I do this, I get the following error

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid

Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \?C:UsersYassoDocumentsVisual Studio 2008WebSitesWebSite5web.config

I searched many times for a solution for this error, but none of the solutions solved the error.

I have a problem with my IUSR account. I can't see this account in the "group or user names" in the properties of the web.config.

What is the problem?

解决方案

Finally, I got the solution for my problem. The ASP.net account did not appear in the IIS manager, because I didn’t check its checkbox in IIS. To do this in Windows 7 follow the steps:

  1. Open control panel
  2. Click on "program" link (not uninstall programs)
  3. Click "turn windows features on/off" link
  4. Locate "Internet Information services IIS" in the pop up window and expand its node
  5. Expand the "World Wide Web Service" node
  6. Expand "Application Development Features" node
  7. Check the check box of "ASP.NET"
  8. Then click ok button

Now, you will see the ASP.net account on the IIS manager and by default you will see the IIS account. Now, you should move your ASP.net website from "my document" to another place where the IIS have permission to access it (i.e. to another partition on your computer). Now, browse your website from the IIS manager and it should work.

Thanks a lot for Jeff Turner for the solution.

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

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