如何解决在Win服务器2K8和IIS7 404.17错误 [英] How do I fix 404.17 error on Win Server 2k8 and IIS7

查看:157
本文介绍了如何解决在Win服务器2K8和IIS7 404.17错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设置在Win服务器2K8一个新的.NET 2.0网站上的IIS 7和浏览一个网页时,它给了我一个错误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.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

要重新设置照顾它。

这篇关于如何解决在Win服务器2K8和IIS7 404.17错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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