I\'ve been trying to follow this tutorial for deploying a WCF sample to IIS . I can\'t get it to work. This is a hosted site, but I do have IIS Manager access to the server.
I had the same error and for me the problem was just that I was missing assemblies on the server that were needed by the service to compile.
All that is described here was not necessary to me.
To find out what your error is, you can try to move your service.svc and service.svc.cs files to the App_Code directory. That way you will get an error message better related to the real error you have.
In my case, the namespace that was missing because I forgot to deploy some assemblies. I uploaded the missing assemblies, run the service correctly then moved back the services files were they belonged.