System.Net.WebException: The request failed with H
I am facing problem when i host my ASP.net application on windows-2003 server.My application is making use of web-services hosted on the same machine.When i call any method of web-servce I get this message:
System.Net.WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object parameters)
I think web-service is not allowing my application to access any of its method.This application and web-service are working fine on other machine where i have XP Professional(OS).
On Windows-2003 server,I have already checked that IUSR_MachineName user is created.Don't understand why this error is comingPlease help me.