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