Under IIS on Windows 7 I was unable to access by WCF service, I was getting the below error.
The requested content appears to be script and will not be served by the static file handler.
You will need to run ServiceModelReg.exe -i from the "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation" directory to register the script maps.
After this it all worked.