在为 .NET 3.5
安装 Service Pack 1 后,IIS 6.0 停止为 ASP.NET 应用程序工作时出现问题。 .
我有 2 个相同的虚拟专用服务器。在第一个上安装 SP1 没有不利影响。在第二个上安装它会导致 ASP.NET 页面开始返回 404 页面未找到。
静态 .html 页面在两台服务器上都可以正常工作。
有没有其他人经历过这种情况?
最佳答案
这是一个广泛的问题,所以让我们从问一些故障排除问题开始:
- Based on your description, the ASP.NET runtime is not catching your request and processing the aspx files. You may need to register the asp.net pipeline with IIS again using ASPNET_REGIIS -i.
- Have you made sure that the app_offline.htm file has been removed from the directory of the application? I have had this happen before after an update.
- Have you setup fiddler for instance to follow the request to see what is exactly being requested?
- Make sure ASP.NET is enabled in the IIS Administration Console under "Web Service Extensions." Make sure everything is set to allowed for your different versions of the framework.
好吧,让我们从这些开始,希望我们可以指导您解决问题。
关于iis - .NET 3.5 Service Pack 1 在 ASP.NET Web App 上导致 404 页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14963/