Sep 09, 2015 05:38 AM|Lorris|LINK
If the problem occurs after you deployed the WCF service(web hosted) to IIS server, there might has something wrong with the deployment. You could refer to the following thread:
Solution which contains in above link:
First, try using webbrowser to access an ASPX page or html page in the WCF service's deployment virtual directory. This can ensure whether the IIS virtual directory works correctly and http request can correctly access it.
Regarding on the error message you received, I found an issue which pointed out a problem when you perform "precompile" on your website project when deploying to IIS:
Are you using "publish website" and deselect "allow site to be updatable" option? You can have a look at the above link to verify this.
Hope it can help you.