We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • WebException: The request failed with HTTP status 401: Unauthorized. from webservice

    Feb 20, 2008 02:28 PM|euacar|LINK

    I have two IIS installations A and B.

    Web page is installed in DefaultAppPool of A and B

    In A web page sees the error from web service. WebException: The request failed with HTTP status 401: Unauthorized.]
       System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +551137
       System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204

    In B no errors at all.

    In A, I can do a right click and browse w/o any errors.

    How can I compare A and B? I check the permissions and properties and they look the same.

     

    authentication Authentification windows authentication ASPNET ASP.NET 2.0