Click here to Skip to main content
15,498,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a WCF REST web service that works fine on Visual Studio development server but fails when I publish it to the discountAspNet server. I'm using web deploy in Visual Studio to publish.

I've tried copying references.
And set authentication to only anonymous.

What am I missing?

The files get deployed and are visible through directory browsing, but return 404 when I test the GET and POST methods.
Updated 10-Nov-11 7:55am

Share this answer
In this case the problem was solved by adding multipleSiteBindingsEnabled="true" to the web.config:
<servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" />
See the discussion here:[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900