The request failed with HTTP status 401: Unauthorized.Sharepoint Web Services

Hi,

I was gettng this error when trying to call the Sharepoint's webservice from my asp.net page.

The resolution for this is putting the following code in the web.conig.

i.e. enable impersonation in your web.config and deny anonymous access in IIS

<identity impersonate=”true”/>

Hope this helps

posted @ Wednesday, January 14, 2009 6:49 PM

Print

Comments on this entry:

# re: The request failed with HTTP status 401: Unauthorized.Sharepoint Web Services

Left by ILYA at 6/22/2009 1:20 AM
Gravatar
Hi Patrick!
Can you tell me in which particular web.config file and where specifically I should add < identity impersonate= "true" / > code?
Thank you in advance!

Your comment:



 (will not be displayed)


 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345