Patrick.O.Ige

Knowledge Creation is Essential to Business, and Communication is Essential to Knowledge Creation

  Home  |   Contact  |   Syndication    |   Login
  94 Posts | 5 Stories | 342 Comments | 0 Trackbacks

News

SharePoint SharePoint SharePoint

Article Categories

Archives

Post Categories

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

JQuery

LINQ

Misc

Mobile BI

Reporting Services

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SilverLight

SQL Server

Sql Server 2012

SSIS

Windows Phone

WorkFlows

WSS V3

xml

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

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Wednesday, January 14, 2009 6:49 PM

Feedback

# re: The request failed with HTTP status 401: Unauthorized.Sharepoint Web Services 6/22/2009 1:20 AM ILYA
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!

# re: The request failed with HTTP status 401: Unauthorized.Sharepoint Web Services 6/20/2010 7:44 PM praveen
can you please give me some more explanation where i can add < identity impersonate= "true" / > in web.config file.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: