I installed oData webservice in IIS on a Windows 2008 32 bit server using these instructions.
I can browse to it on the browser. However when I try to add the service reference to a project locally on my computer, I get this error.
The HTML document does not contain Web service discovery information. Metadata contains a reference that cannot be resolved: 'http://servername:91/oData.svc'. The remote server returned an unexpected response: (405) Method Not Allowed. The remote server returned an error: (405) Method Not Allowed. If the service is defined in the current solution, try building the solution and adding the service reference again.
Has anyone encountered this before and what is the solution to this error?