I am getting this issue when trying to access my web service from my server.
ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this.
I have added this line to my web.config just like many articles have suggested, yet I still get the same error.
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
What could be the issue?
I had the same problem when I had a website with no physical path configured. Configuring a physical path for the website fixed it.