« Previous Next »

Thread: IIS 6.0 Trouble with 401.2 Login

Last post 07-14-2009 2:29 PM by davcox. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-13-2009, 1:19 AM

    • B3
    • Not Ranked
    • Joined on 07-13-2009, 5:16 AM
    • Posts 3

    IIS 6.0 Trouble with 401.2 Login

    My problem is, any .aspx file that tries to load is asking for a login. I have created the most basic application that requires no login, with a default web.config. everyone, iis_wpg, IUSR, permissions are on the folder/files. Ive googled many sites, with no one having the same problem as me. I cant think of anything else to check. :( does anyone have any ideas or suggestions?

  • 07-13-2009, 3:50 AM In reply to

    Re: IIS 6.0 Trouble with 401.2 Login

    Hi,

    This KB article covers 401.2 errors :

    Troubleshooting HTTP 401 errors in IIS

    Regards,

     

    Paul Lynch | www.iisadmin.co.uk
  • 07-13-2009, 11:29 PM In reply to

    • B3
    • Not Ranked
    • Joined on 07-13-2009, 5:16 AM
    • Posts 3

    Re: IIS 6.0 Trouble with 401.2 Login

    Well i tried to follow that site. I had no sucess. It gave me some applications to try, i dont think anything helped really.

    I even went all out and tried to reinstall IIS with no luck, since this used to work a while back. The strange part is, when it asks for the login, it does not even accept the administrator password.

    I stripped the latest log, and as you can see its a 401.5 error, but the browser displays a 401.2 Error message.

    2009-07-14 03:07:27 W3SVC1998578575 208.68.93.36 GET /Default.aspx - 80 - MYIP Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+5.2;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) 401 5 0

    according to that site, this is a 401.5 error... HTTP 401.5: Denied by custom ISAPI/CGI Web application Description

    An ISAPI extension or CGI application denied the request.

  • 07-14-2009, 8:30 AM In reply to

    • Solarez
    • Top 500 Contributor
    • Joined on 01-18-2007, 2:33 PM
    • Posts 15

    Re: IIS 6.0 Trouble with 401.2 Login

  • 07-14-2009, 12:48 PM In reply to

    • B3
    • Not Ranked
    • Joined on 07-13-2009, 5:16 AM
    • Posts 3

    Re: IIS 6.0 Trouble with 401.2 Login

    No this did not help.. Pretty strange problem, Even if i create a new web site its still giving out this problem

  • 07-14-2009, 2:29 PM In reply to

    • davcox
    • Top 50 Contributor
    • Joined on 07-21-2006, 6:28 PM
    • Redmond
    • Posts 217

    Re: IIS 6.0 Trouble with 401.2 Login

    Well, based on the error message you gave us, neither of the two earlier articles are relevant.  You'll need to look at the way you've configured asp.net's handler. 

    First, you should look to make sure that aspnet's binaries are enabled:

    http://msdn.microsoft.com/en-us/library/ms525478.aspx 

    After that, you'll get more information about what may be going on. 

    Note that the WebSvcExtRestrictionList setting is global to IIS, so it affects all websites.  The purpose of the setting is to restrict the binaries that IIS loads into all of it's processes, so you're not running rogue ISAPI or CGI code on your webserver. 

    Dave

Page 1 of 1 (6 items)
Microsoft Communities