WebService : Request failed with HTTP status 401: Unauthorized
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hell EveryBody, I have a webservice in a server.And in another server I have a webApplication. When i use the webmethod of the webservice in my webApplication I got the following error. I had already used this code, but no result. webservLeave.PreAuthenticate = false; webservLeave.Credentials = System.Net.CredentialCache.DefaultCredentials; or webservLeave.Credentials = System.Net.CredentialCache.DefaultCredentials; The request failed with HTTP status 401: Unauthorized plz help me out.
A key to every Solution