如何修复 Win Server 2k8 和 IIS7 上的 404.17 错误 [英] How do I fix 404.17 error on Win Server 2k8 and IIS7

查看:14
本文介绍了如何修复 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 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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