Solved

HTTP Error 401.3 - Unauthorized

Posted on 2004-10-23
3,857 Views
Last Modified: 2008-03-06


Hi all,
 
 I can't find the the solution to this annoying problem. Windows 2003 server standard. HTML files are showing up fine , but .asp requires a login, I know that's something gotta do with permissions, also images require login. Please advice where and what I should change. thanks.

0
Question by:N_F_S
    6 Comments
     
    LVL 33

    Expert Comment

    by:humeniuk
    I'm more familiar with PHP than ASP, but when you install PHP on IIS, you have to make sure that the IIS anon user account has suitable permissions to access the executable that handles files with a PHP extension.  If it doesn't then you get the login problem that you are experiencing.  The correct path in Windows 2000 Server (the version I'm looking at) is C:\WINNT\system32\inetsrv\asp.dll.  I presume it's the same or similar for Windows 2003 Server (though you can check by clicking the 'Configuration' button under the 'Home Directory' tab in your website properties in the Internet Services Manager).
    0
     

    Author Comment

    by:N_F_S
    I just added Internet Guest account to that .dll file with read permissions, now I'm receiving:

    HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application.
    Internet Information Services (IIS)
    0
     
    LVL 33

    Expert Comment

    by:humeniuk
    That's a good sign - looks like we're on the right track.  There are likely other files that require additional permissions (again, this is the case with PHP), but I'm not sure what they are.  I'll do a little research and see if I can figure it out.  In the meantime, someone with more ASP experience may be able to tell you.
    0
     
    LVL 14

    Accepted Solution

    by:
    give the IUSR and IWAM accounts at least read access to your system32 directory and subdirectories,  you can also get a utility called filemon from www.sysinternals.com that will monitor file access in realtime and show up any access denied errors.
    hope this helps,
    cheers,
    AJ.
    0
     
    LVL 14

    Expert Comment

    by:alimu
    Hi N_F_S,
    Can you please provide some feedback to advise whether these responses resolved your problem or not?
    If this is fixed up could you close off your question please?
    If you're not sure how, here's the options: http://www.experts-exchange.com/help.jsp#hs5
    Thanks!
    AJ
    0
     

    Author Comment

    by:N_F_S
    This was long  time ago and I solved it. You do not need to play with system32 directory at all, just need to find the right IUSR account that is suppose to be for guests.

     
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: MongoDB Object-Document Mapper for NodeJS

    NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now