I have had a ASP.NET Web API REST service running on my website for a couple of years now. It services Android phone apps that I write. It works fine. However I need to run a different version from the same website (my web hoster runs IIS7) to test some new apps.
My live service runs from a directory on my website named REST. I deploy directly to REST using the publish feature from VS2010 using FTP when I make changes. Like I said, it all works well.
So, to test out my duplicate web API service, I created a new directory named TEST and deployed the working web API service to TEST. The two directories are identical in every way. I changed the URL strings in my phone app to point to TEST instead of REST.
But, it doesn't work in TEST. All my service methods are POST that return Gson strings. Instead of getting back the proper Gson string I get back...
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrorsmode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.
I don't believe my POST is even getting routed to my methods in TEST. The ONLY difference is that my new TEST service is in a different directory at my website. The contents are identical.
What have I forgotten to do?
Thanks,
Gary