The Remote server Returned an error (401) Unauthorised

Last post 07-05-2007 11:47 AM by sandeepantony. 3 replies.

Sort Posts:

  • The Remote server Returned an error (401) Unauthorised

    05-08-2007, 6:59 AM
    • Loading...
    • ashwin123
    • Joined on 05-08-2007, 10:49 AM
    • Posts 31

    IM using Windows 2003 Standard Edition SP2  as my Webserver. I am Unbale to call SOAP files(which are placed in the webserver) from my ASP.NET application from anywhere in the network.

    I have Created the Virtual Directories also and gave everyone rights to the Folder.

     When i run my application it creates a proxy of the client and calls for SOAP file...

    It Gives error The Remote server Returned an error (401) Unauthorised

    If i copy the same folder put in any XP machine and Create virtual directory and call that path from ASP.NET application it works FINE.

    Tried search in Google didnt came up with exact solution...

    has anyone come up with such a bizzarre incident.....

  • Re: The Remote server Returned an error (401) Unauthorised

    05-08-2007, 2:25 PM

    401 Unauthorized is usually an authentication problem.

    since its win2k3 u would be using IIS 6.0

    check the Application pool identity.

    Are you using Anonymous access for your website/virdir ?

    Try using File  monitor to verify the user account that is trying to access your file.

    I'm assuming the files are local and the neccessary ACLs are given to the folders.

    hth

     

    Sandeep Antony
  • Re: The Remote server Returned an error (401) Unauthorised

    05-11-2007, 7:52 AM
    • Loading...
    • ashwin123
    • Joined on 05-08-2007, 10:49 AM
    • Posts 31
    yes im have Enabled Anonymus access for Virtual Directory
  • Re: The Remote server Returned an error (401) Unauthorised

    07-05-2007, 11:47 AM

     Did you try using File Monitor to check which account is trying to access your SOAP files. most likely its the ASPNET account. but its better to verify

    Sandeep Antony
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter