The request failed with HTTP status 401: Unauthorized

Discussion in 'ASP .Net Web Services' started by Sachin, Nov 4, 2005.

  1. Sachin

    Sachin Guest

    Scenario:

    Machine A: ASP.NET Web UI
    IIS 6.0
    Windows Server 2003
    Impersonation Account: domain\Acct1


    Machine B: ASP.NET Web Service
    IIS 6.0
    Windsow Server 2003
    Impersonation Account: domain\Acct2



    when Web UI calls Web Service, it fails saying "System.Web.Exception The
    request failed with HTTP status 401: Unauthorized."

    When I look at the IIS log for Web Service I see,

    WebService.asmx -> HTTP Code, 401 2
    WebService.asmx -> HTTP Code, 401 3
    WebService.asmx -> HTTP Code, 401 1


    domain\Acct1 has full control over web service web site and all the files
    underneath it.



    I used filemon on WebService.asmx and found that IIS is even not tring to
    read it.


    Then I deployed the same Web Service on Machine C, with similar
    configuration. Web UI works fine.

    Could someone please help me to find out what could be wrong?

    Any pointer?

    Thanks in advace
    Sachin
     
    Sachin, Nov 4, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sachin
    Replies:
    2
    Views:
    17,929
    Sachin
    Nov 4, 2005
  2. ad
    Replies:
    2
    Views:
    13,555
  3. ad
    Replies:
    0
    Views:
    1,634
  4. Kevin Burton

    The request failed with HTTP status 401: Unauthorized.

    Kevin Burton, Dec 17, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    159
    Mohamed El Ashmawy
    Dec 19, 2004
  5. manika02

    The request failed with HTTP status 401: Unauthorized

    manika02, Mar 29, 2006, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    216
    geyser hi
    Apr 10, 2006
Loading...

Share This Page