WCF Service Error HTTP
Using a WCF开发者_Python百科 service to communicate with a website in a shared hosting environment.
Getting the following error:
Exception: System.ServiceModel.ServiceActivationException The requested service, 'http://www.mywebsite.com/myservice.svc' could not be activated. See the server's diagnostic trace logs for more information.
We have managed to 'reset' the service copying files to the project however, the service needs to run in an automated fashion during the evening hours and having very limited access to IIS has proven difficult. Is there a solution that might be found on the code and visual studio side of things. Cheers.
Depending on your shared hosting environment, you may need to set some parameters in web.config to make it work; I had similar problems when deploying some services to my GoDaddy account, and the article at http://www.edoverip.com/edoverip/index.php/2009/01/30/running-wcf-on-godaddy/ had the steps I needed to do to get it running.
精彩评论