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

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

问题描述

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

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错误500.19-内部服务器错误请求的页面不能为 由于该页面的相关配置数据为 无效

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

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

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:\Users\Yasso\Documents\Visual Studio 2008\WebSites\WebSite5\web.config

我多次搜索该错误的解决方案,但是没有一个解决方案解决了该错误.

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

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

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.

出什么问题了?

推荐答案

最后,我找到了解决问题的方法. ASP.net帐户未出现在IIS管理器中,因为我没有在IIS中选中其复选框.为此,请在Windows 7中执行以下步骤:

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

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

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.

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

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

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