Previous Next

Thread: trying to run *.aspx files results in 401.3 / 401.1

Last post 09-13-2008 1:40 PM by Corosus. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 09-11-2008, 12:49 AM

    • Corosus
    • Not Ranked
    • Joined on 09-11-2008, 12:36 AM
    • Posts 3

    trying to run *.aspx files results in 401.3 / 401.1

     Hi, I've run into an annoying problem on our Win2k3 IIS 6.0 production server, we've had this server running for a couple of years now, and only now we have a customer that is trying to run *.aspx files, but when he does it prompts for a user and pass (but anon access should be allowed), so it results in a 401.3 error or a 401.1 error (depending on if you hit esc or try any username/pass combo for a user on the server, even admin)

     This ONLY happens with *.aspx files though, *.asp, *.php, or any other I can think of run fine. I have scoured the internet and haven't found an exact situation of my issue, and all of the closest ones I've had no luck with

     The computer is not on a domain

    Heres what I've tried so far:

    - Reapplied permissions on the given root web folder for the site for IUSR_<our servers name> account

    - Confirmed that The sites app pool is running as the network_service account

     - Reinstalled .net framework 2.0


    From my research the main difference seems that this only happens with aspx files.

     

    Any help on this billionth occuring 401.x problem would be appreciated.

  • 09-11-2008, 4:00 AM In reply to

    Re: trying to run *.aspx files results in 401.3 / 401.1

    Hi,

    A 401.3 status code basically means that some process ID was denied access to some resource on your server.

    Your best bet to track this permissions issue down is to run Process Monitor on your server whilst replicating the problem - you should then be able to determine who or what is being denied access to which resource. You can Process Monitor here :

    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

    Regards, 

    Paul Lynch
    www.iisadmin.co.uk
  • 09-11-2008, 7:29 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 4,070
    • IIS MVPs

    Re: trying to run *.aspx files results in 401.3 / 401.1

    Very bizarre that this happens for only one user plus this site is only anonymous access.  What is getting logged?

  • 09-12-2008, 12:29 PM In reply to

    • Corosus
    • Not Ranked
    • Joined on 09-11-2008, 12:36 AM
    • Posts 3

    Re: trying to run *.aspx files results in 401.3 / 401.1

     I tried that process explorer, but it doesn't seem like any process is actually made at all for that request, very odd, I can see the huge list of process events for everything else though.

     Here's what my IIS log is saying:

     

    GET /Calc.aspx - 80 - x.x.x.x Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.0.1)+Gecko/2008070208+Firefox/3.0.1 401 3 5
    GET /Calc.aspx - 80 - x.x.x.x Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.0.1)+Gecko/2008070208+Firefox/3.0.1 401 3 5
    GET /Calc.aspx - 80 - x.x.x.x Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.0.1)+Gecko/2008070208+Firefox/3.0.1 401 1 0
    GET /Calc.aspx - 80 - x.x.x.x Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.0.1)+Gecko/2008070208+Firefox/3.0.1 401 1 2148074252

  • 09-12-2008, 1:40 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 4,070
    • IIS MVPs

    Re: trying to run *.aspx files results in 401.3 / 401.1

    It appears that those are entries for anonymous access - as evident by the lack of a username and the presence of a hyphen.  Can you confirm for me that you're logging cs-username?

  • 09-13-2008, 1:40 PM In reply to

    • Corosus
    • Not Ranked
    • Joined on 09-11-2008, 12:36 AM
    • Posts 3

    Re: trying to run *.aspx files results in 401.3 / 401.1

     Yeah it is anonymous access, cs-username is logged, if it helps the site is setup for anonymous access (like every site should be) and also has integrated windows authentication checked

     

    Update: I am able to get it working by having the application pool the site uses to run under the user Local System instead of Network Service, a temporary solution, now that I have a better idea of the problem I will have a closer look at the permissions, this post gave me the lead

     http://forums.theplanet.com/lofiversion/index.php/t87721.html

Page 1 of 1 (6 items)
Page view counter