简体   繁体   English

重新启动本地IIS服务器后出现404

[英]404 after restarting local IIS server

I have .NET application installed on my local IIS instance. 我在本地IIS实例上安装了.NET应用程序。 I had some problems with rebuilding files so I turn off IIS and logged off my user and then after login again, I turned my IIS on. 我在重建文件时遇到了一些问题,因此我关闭了IIS并注销了用户,然后再次登录后又打开了IIS。

But after that I get 404 on every website. 但是之后,我在每个网站上都得到404。 All app pools and websites are on. 所有应用程序池和网站均已打开。 I tried restarting IIS. 我尝试重新启动IIS。 Nothing helps 没有任何帮助

Is there is anything else I can do? 我还能做些什么吗?

I fixed issue by replacing corrupted applicationHost.config with archived one. 我通过将损坏的applicationHost.config替换为已存档的文件来解决此问题。

I followed procedure from following link: https://jshidell.com/2012/03/27/fixing-corrupted-applicationhost-config-file-in-iis-7/ 我遵循以下链接中的步骤: https : //jshidell.com/2012/03/27/fixing-corrupted-applicationhost-config-file-in-iis-7/

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

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