I am trying to add a link to a SharePoint list service in https://abcd/_vti_bin/lists.asmx , but I get the following error:
An error occurred while loading ' https: //abcd/_vti_bin/lists.asmx/_vti_bin/ListData.svc/ $ metadata'. Request error with HTTP status 404: not found. Metadata contains a link that cannot be resolved: ' https: //abcd/_vti_bin/lists.asmx '. The HTTP request was not authorized using the Anonymous client authentication scheme. The authentication header received from the server was Negotiation, NTLM. The remote server responded with an error: (401) Unauthorized. If the service is defined in the current solution, try creating a solution and adding the service link again.
The SharePoint site has Windows authentication enabled, ASP.NET impersonation mode enabled, and anonymous access disabled.
I managed to connect to the service using IE; it asks for the NT user ID and password. The error appears when I try to add a link from a Windows application.
Any help would be greatly appreciated.
Environment: Visual Studio 2012, Sharepoint, hosted in IIS 7.5, Windows Server 2008 R2
Thomas
source share