December 12, 2012If you've developed a WCF service and try to host it under IIS7 you most likely will be met with an error message saying "Error 404.17 The requested content appears to be script" from the static file handler.
In order to solve this you need to install WCF components. This is done with the ServiceModelReg tool (more information about the tool). Start a cmd-prompt in administrator mode and execute the following:
cd "%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation"