HTTP Error 500.19 - Internal Server Error 0x8007052e

被刻印的时光 ゝ 提交于 2019-12-13 04:53:11

问题


I copied an MVC project from another development pc to my laptop and tried to deploy it on the laptop which gave this error. The user account password was changed recently prior to this error. I tried tinkering around with the app pool permissions for the root folders with no effect. Any ideas? I am stuck.

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

Detailed Error Information

Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007052e
Config Error Can not log on locally to C:\inetpub\wwwroot as user {MY ACCOUNT} with virtual directory password
Config File \?\C:\inetpub\temp\apppools\ASP.NET v4.0\ASP.NET v4.0.config
Requested URL http://localhost:80/hts
Physical Path
Logon Method Not yet determined
Logon User Not yet determined

Config Source

145: <application path="/" applicationPool="ASP.NET v4.0">
146:  <virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" userName="{MY ACCOUNT}" password="[enc:AesProvider:{etc etc etc}:enc]" />
147: </application>

回答1:


  1. Open the Internet Information Services (IIS) Manager (Start > Run > type "inetmgr").
  2. Using the navigation pane on the left, browse to Sites > Default Web Site.
  3. Right-click on Default Web Site and select Manage Web Site > Advanced Settings.
  4. Set the Physical Path Credentials field to Application user (you must enter user and password).
  5. Click OK and then OK again.
  6. Right-click on Default Web Site and select Manage Web Site > Restart to refresh the changes that were just made.
  7. At this point you should be able to reload the page in your browser.



回答2:


I ended up reinstalling visual studio and eventually got everything working.



来源:https://stackoverflow.com/questions/11918709/http-error-500-19-internal-server-error-0x8007052e

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!