简体   繁体   English

IIS 8.0 HTTP错误404.17-找不到请求的内容似乎是脚本,并且不会由静态文件处理程序提供

[英]IIS 8.0 HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler

Guys i'm constantly facing this problem, I've tried a lots of tricks but all in vein. 伙计们,我一直在面对这个问题,我已经尝试了很多技巧,但全部都是。 Can any body help me about this problem please. 请问有人可以帮我解决这个问题。 All static pages are working but when i open any dynamic page it come up with this error. 所有静态页面都可以使用,但是当我打开任何动态页面时都会出现此错误。 I'm using C# using IIS 8.0. 我正在使用IIS 8.0的C#。 I'd be very obliged if someone could help me please. 如果有人可以帮助我,我将非常有义务。

HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler. HTTP错误404.17-找不到请求的内容似乎是脚本,并且不会由静态文件处理程序提供。

Most likely causes: The request matched a wildcard mime map. 最可能的原因:该请求与通配符mime映射匹配。 The request is mapped to the static file handler. 该请求被映射到静态文件处理程序。 If there were different pre-conditions, the request will map to a different handler. 如果存在不同的前提条件,则请求将映射到其他处理程序。

Things you can try: If you want to serve this content as a static file, add an explicit MIME map. 您可以尝试做的事情:如果要将此内容作为静态文件提供,请添加一个显式的MIME映射。

Detailed Error Information: Module StaticFileModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x80070032 详细的错误信息:模块StaticFileModule通知ExecuteRequestHandler处理程序StaticFile错误代码0x80070032

Requested URL [localhost:58273/quote.cshtml] Physical Path F:\\ORG\\quote.cshtml Logon Method Anonymous Logon User Anonymous Request Tracing Directory [C:\\Users\\Documents\\IISExpress\\TraceLogFiles\\ORG2] 请求的URL [localhost:58273 / quote.cshtml]物理路径F:\\ ORG \\ quote.cshtml登录方法匿名登录用户匿名请求跟踪目录[C:\\ Users \\ Documents \\ IISExpress \\ TraceLogFiles \\ ORG2]

More Information: Sometimes preconditions and a wildcard MIME map can unintentionally cause serving script source. 详细信息:有时前提条件和通配符MIME映射可能会无意间导致提供脚本源。 View more information » 查看更多信息»

Try selecting ASP.NET4.5 options 尝试选择ASP.NET4.5选项

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 HTTP错误404.17 - 未找到请求的内容似乎是脚本,静态文件处理程序不会提供 - HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler WCF:解除对本地iis的解析后未找到HTTP 404.17 - WCF: HTTP 404.17 NOT FOUND after depyloing to local iis 无法在IIS 8.0的MVC 5应用程序中处理HTTP错误404.13 - Unable to handle http error 404.13 in mvc 5 app on iis 8.0 Static 文件未通过 IIS 提供,但通过本地主机提供 - ASP.NET 核心 3.1 MVC 和 ZD7EFAZDA19FBE7D3972FDB602422 - Static file not served through IIS but serving through localhost - ASP.NET Core 3.1 MVC & C# IIS7.5抛出404.17错误,asp.net 4.0 Web应用程序 - IIS7.5 throwing 404.17 error asp.net 4.0 webapplication IIS 7.5无法使用代码隐藏文件加载自定义HTTP处理程序 - IIS 7.5 Can't load custom HTTP Handler with codebehind file 找不到引发HTTP 404的IIS,但是资源存在。 要求的网址也会自动更改。 - IIS throwing HTTP 404 not found but resource exists. Requested URL also changing automatically.! IIS上的网站级别的Http处理程序? - Http Handler at website level on IIS? IIS 7 Http Handler开发问题 - IIS 7 Http Handler development issue 如何在IIS 7中配置Http Handler? - How to configure an Http Handler in IIS 7?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM