问题描述
我想用 IIS 管理器在 IIS 上上传我自己的 asp.net 网站.但是当我这样做时,我收到以下错误
<块引用>HTTP 错误 500.19 - 内部服务器错误 无法访问请求的页面访问,因为该页面的相关配置数据是无效
<块引用>
模块 IIS Web 核心
通知未知
处理程序尚未确定
错误代码 0x80070005
配置错误 权限不足,无法读取配置文件
配置文件 \?C:UsersYassoDocumentsVisual Studio 2008WebSitesWebSite5web.config
我多次搜索此错误的解决方案,但没有一个解决方案能解决该错误.
我的 IUSR
帐户有问题.我在 web.config
的属性中的组或用户名"中看不到此帐户.
有什么问题?
终于,我找到了解决问题的方法.ASP.net 帐户没有出现在 IIS 管理器中,因为我没有在 IIS 中选中它的复选框.要在 Windows 7 中执行此操作,请按照以下步骤操作:
- 打开控制面板
- 点击程序"链接(不是卸载程序)
- 点击打开/关闭 Windows 功能"链接
- 在弹出窗口中找到Internet 信息服务 IIS"并展开其节点
- 展开万维网服务"节点
- 展开应用程序开发功能"节点
- 勾选ASP.NET"复选框
- 然后点击确定按钮
现在,您将在 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 Code0x80070005
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:
- Open control panel
- Click on "program" link (not uninstall programs)
- Click "turn windows features on/off" link
- Locate "Internet Information services IIS" in the pop up window and expand its node
- Expand the "World Wide Web Service" node
- Expand "Application Development Features" node
- Check the check box of "ASP.NET"
- 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 无法访问请求的页面,因为该页面的相关配置数据无效错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!