How do I fix 404.17 error on Win Server 2k8 and IIS7(如何修复 Win Server 2k8 和 IIS7 上的 404.17 错误)
问题描述
我在 Win Server 2k8 下的 IIS 7 上设置了一个新的 .net 2.0 网站,当浏览到一个页面时,它给了我一个 404.17 错误,声称该文件(在这种情况下为 default.aspx)似乎是一个脚本但由静态文件处理程序处理.听起来 ASP.Net 的模块映射搞砸了,但它们在配置中看起来不错.有没有人有纠正这个错误的建议?
I've setup a new .net 2.0 website on IIS 7 under Win Server 2k8 and when browsing to a page it gives me a 404.17 error, claiming that the file (default.aspx in this case) appears to be a script but is being handled by the static file handler. It SOUNDS like the module mappings for ASP.Net got messed up, but they look fine in the configurations. Does anyone have a suggestion for correcting this error?
推荐答案
有一次我在 IIS6 上遇到了这个问题,当时不知何故 ASP.NET ISAPI 东西坏了.
I had this problem on IIS6 one time when somehow the ASP.NET ISAPI stuff was broke.
跑步
%windir%Microsoft.NETFrameworkv2.0.50727aspnet_regiis.exe -i
重新创建设置已经处理好了.
to recreate the settings took care of it.
这篇关于如何修复 Win Server 2k8 和 IIS7 上的 404.17 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何修复 Win Server 2k8 和 IIS7 上的 404.17 错误


基础教程推荐
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01