Windows Server和更新导致404错误? [英] Windows Server and Updates causing 404 Error?

查看:169
本文介绍了Windows Server和更新导致404错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在栅栏,其中部分在张贴此,但我觉得我来到了正确的位置。前期道歉,如果我错了!

I was on the fence of which section to post this in but I think I came to the correct place. Apologies upfront if I was wrong!

我有一个Windows Server 2008,现在主持了近一年的小ASP.NET Web应用程序(IIS7)。通过出这一年中,我注意到,随机对什么似乎是随机的网页,我自己和其他人将得到404禁止/拒绝访问错误。

I have a Windows Server 2008, hosting a small ASP.NET Web Application (IIS7) for almost a year now. Through-out the year, I notice that randomly on what seems to be, random pages, myself and others will get the 404 Forbidden / Access is denied error.

每一次,该解决方案已经运行Windows Server 2008的计算机上的Windows更新其承载ASP.NET Web应用程序。

在simular的问题,我所看到的建议,设置 runAllManagedModulesForAllRequests =真正的在web.config将解决404问题。

On simular issues, I have seen suggestions that setting runAllManagedModulesForAllRequests="true" in the web.config will resolve 404 issues.

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"></modules>
    <handlers>
      <remove name="UrlRoutingHandler"/>
    </handlers>
  </system.webServer>

什么是Windows更新的缘故,我的Windows Server 2008上,造成我的ASP.NET Web应用程序这个404问题?此外,将在code解决我的问题?当然,很多人会说,以测试它,但错误是罕见的,可能需要一个星期,一个月/月出现。

What is the reason for windows updates, on my Windows Server 2008, to cause this 404 issue on my ASP.NET Web Application? Also, will this code resolve my issue? Of course many would say to test it out, but the error is rare and could take a week, month / months to arise.

推荐答案

我有同样的问题试图安装修复程序(S)。我去这里: http://support.microsoft.com/kb/980368 并更新webconfig被指出和纠正了我的问题与404

I have the same problem trying to install the hotfix(s). I went here: http://support.microsoft.com/kb/980368 and updated the webconfig that is noted and that corrected my issue with the 404

这篇关于Windows Server和更新导致404错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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