IIS configuration issues: WCF service svc file open error: The requested content appears to be script and therefore will not be handled by the static file handler

After multiple reference online tutorial, I used the IIS configuration of the site was finally able to open normally, but soon discovered a new problem, an error in the open file WCF service svc:

HTTP Error 404.17 - Not Found
requested content appears to be script and therefore will not be processed by the static file handler.
No way, but also find a variety of solutions on the Internet, then the following URL way to find ideas:

https://www.cnblogs.com/EasyLive2006/archive/2011/01/12/1933753.html

Probably the "Handler Mappings" configuration problems, try a direct method in accordance with the above Web site at, or not, so I expanded the next idea.

Add their own map:

 

 

Two red box inside the map is, the specific method is to add my own:

1. Choose the right in the "Handler Mappings" in the "Add Script Map";

 

 

2. Fill shown below, can give 32/64, respectively, to establish a mapping, to establish two modeled .net 2.0, and then determines save it.

 

   

---------------------
Author: Lu Mu coronal
Source: CSDN
Original: https: //blog.csdn.net/qq_26796401/article/details/80971759
copyright Disclaimer: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/guohu/p/11112721.html