Take the 2-minute tour ×

So I've been developing an app on my dev box for a while and it's time to put it in production. My Service has a method which returns Xml.

This all works locally but when I copy the files over to the web server and try to connect to my WCS using a browser I get this message:


Why does it work locally? Has my hosting provider setup something wrong? Have I messed up some config or other? Thanks in advance.

share|improve this question
What is the returned message? If it is text/html it usually indicates some error page. What does it contain? –  Darin Dimitrov Dec 4 '10 at 17:15

1 Answer 1

up vote 1 down vote accepted

Has the production environment been properly set up?

If not, run ServiceModelReg.exe to register WCF http modules / mappings etc. http://msdn.microsoft.com/en-us/library/ms732012.aspx


share|improve this answer
I assumed that this would just be on default. I'll give this a shot. Thaanks –  will Dec 5 '10 at 5:02
Don't assume, don't assume. Apparently my hosting provider is back in the dark ages and I didn't read the small print. Back to winhost I guess. –  will Dec 8 '10 at 15:27

Your Answer


