request failed with HTTP status 401

Last Post 25 May 2004 08:36 AM by ramesh_cr. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ramesh_cr
New Member
New Member

--
25 May 2004 08:36 AM
Hi,
I got a strange error (The request failed with HTTP status 401: Access
Denied), when I try to call ReportServer WebService.
I have my own web service which calls a C# component and this compoenent
Instantiates RS web service and try to call any method. It throws the above
error.
But If I have a normal web Application, which calls same C# component(inturn
component calls RS web Service), it works fine...

Web Application ---> C# Component ---> RS WebService -- Working
Web Service ----> C# component ---> RS WebService -- Not Working

I gave anonymous access to RS webService and to my web service also...
I write
rs.PreAuthenticate = true;

rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

But still it is not working. Help me in this..

Thanks in advance,

Ramesh





You are not authorized to post a reply.

Acceptable Use Policy