简体   繁体   English

HTTP错误500.19-尝试浏览Web应用程序时发生内部服务器错误

[英]HTTP Error 500.19 - Internal Server Error while attempt to browse web application

On my attempt to access my site from IIS, i am getting following error. 在尝试从IIS访问我的网站时,出现以下错误。

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

Module: IIS Web Core Notification: Unknown Handler: Not yet determinedError Code Error Code: 0x80070005 Config Error: Cannot read configuration file due to insufficient permissions Logon Method:Not yet determined Logon User:Not yet determined 模块:IIS Web核心通知:未知处理程序:尚未确定错误代码错误代码:0x80070005配置错误:由于权限不足而无法读取配置文件登录方法:尚未确定登录用户:尚未确定

I am not sure what to do. 我不确定该怎么办。 I have already given full control to mycomputerName\\ISS_IUSRS for applicationHost file in C:\\Windows\\System32\\inetsrv\\config. 我已经完全控制了C:\\ Windows \\ System32 \\ inetsrv \\ config中的applicationHost文件的mycomputerName \\ ISS_IUSRS。 Also, I have given full control to mycomputerName\\ISS_IUSRS for applicationHost file to my solution folder and web.config file. 此外,我已经将myHostName \\ ISS_IUSRS的完全控制权授予了applicationHost文件到我的解决方案文件夹和web.config文件中。 However, when I click on my application from IIS and attempt to browse it by clicking on manage Application\\browse, I am still getting this error. 但是,当我从IIS单击我的应用程序并尝试通过单击管理应用程序\\浏览浏览它时,仍然出现此错误。

If anyone could help me, that would greatly be appreciated, Thanks 如果有人可以帮助我,将不胜感激,谢谢

This problem mostly occurs when the IIS application don't have the permission to the read the application configuration files. 当IIS应用程序没有读取应用程序配置文件的权限时,通常会出现此问题。 IIS application uses the IIS_IUSRS user to read the Web application. IIS应用程序使用IIS_IUSRS用户来读取Web应用程序。

The IIS_IUSRS user will have default read and execute access for the folder C:\\inetpub\\wwwroot\\ once when you install the IIS. 安装IIS后,IIS_IUSRS用户将对文件夹C:\\ inetpub \\ wwwroot \\具有默认的读取和执行访问权限。 Kindly copy your Web Application folder to the above mentioned directory and give the read access or full control(if the IIS_IUSRS don't have the read and execute permission) for the IIS_IUSRS to your application folder. 请将您的Web应用程序文件夹复制到上述目录,然后将IIS_IUSRS的读取访问权限或完全控制权(如果IIS_IUSRS没有读取和执行权限)授予您的应用程序文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM