WCF deployment problem: the content of the HTTP Error 404.17-not found request seems to be a script, so it cannot be handled by a static file handler.
The authors below used. Net framework4.0 beta and vs.net 2010 beta2 at the time. When I encountered this problem, I used the official version. The problem is the same, and the solution is the same.
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 the observation,. net3.0/3.5 does not contain the handler 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