A few months ago, I wrote a Windows service that will ping a Sharepoint list using the _vti_bin / lists.asmx GetListItemChanges function. It worked fine until a few weeks ago when my company upgraded our Sharepoint instance to SP1.
Now, when my service tries to access Sharepoint, I get 401.1 authentication error:
Mistake:
You do not have permission to view this page. You do not have permission to browse this directory or page using the credentials you provided.
Please try the following: go online if you think you should be able to browse this directory or pages.
HTTP Error 401.1 - Unauthorized Access: Access is denied due to invalid credentials.
Internet Information Services (IIS)
I checked and my privileges on the site have not changed. here is the code I'm calling the list into:
Lists listsService = new Lists(); listsService.Credentials = new NetworkCredential("UserName", "Password", "domain"); Result = listsService.GetListItemChanges("List name", null, dTime.ToString(), null);
I was also informed that basic authentication might be disabled on our farm. I do not believe that I am using this, but I can be wrong.
authentication web-services sharepoint
Joe
source share