HTTP Error 404.17-not found, the requested content appears to be script and will not be served

Source: Internet
Author: User

Http://support.microsoft.com/kb/2019689 Microsoft official information. After reading it, I still cannot find a solution .. It seems that this only solves the difference in ing, and does not involve the deployment of the WCF program.

Just like a needle in a haystack, I searched for an article and read it. This is recorded. I hope to solve this problem for other comrades.

After the. net3.5 WCF Service is released in iis7, the following error occurs when you access the. SVC file in IE:

HTTP Error 404.17-not found the request content seems to be a script, so it cannot be processed by a static file handler.

 

Later, it was found in

*. The SVC file has been. ASP net_isapi.dll, the handler of net framework4.0, takes over. net framework4.0 beta and vs.net 2010 beta2. The original 3.5 was discarded. development is not affected, but deployment is affected.

 

Note: According to observations,. net3.0 \ 3.5 does not contain the processing program aspnet_isapi.dll. Therefore, when you specify a website framework in IIS, you cannot see. net3.0 \ 3.5.

 

It cannot be processed by the. net2.0 handler aspnet_isapi.dll.

Finally, let's just get a base salary and re-register the. NET 3.5 WCF.

Result: The problem is solved! <Handler ing>. SVC is also taken over by. NET 2.0 again

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.