My Techie Blog

  Home  |   Contact  |   Syndication    |   Login
  110 Posts | 5 Stories | 406 Comments | 0 Trackbacks

News

Article Categories

Archives

Post Categories

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

iOT

JavaScript

JQuery

JSLink - SharePoint

JSON

LINQ

Misc

Mobile BI

MS Business Inteliigence

Reporting Services

Responsive/MVC ASP.NET

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SharePoint 2013

SharePoint Online

SilverLight

SPServices

SQL Server

Sql Server 2012

SSIS

Web Optimization Tools

Web Performace Tools

Windows 8

Windows Azure

Windows Azure

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

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:
Comment:
Verification: