401.3 error redirecting

Discussion in 'ASP .Net' started by tony, Aug 19, 2004.

  1. tony

    tony Guest

    I've been searching through the threads to find a solution for 401.3 error
    triggered by windows authentication not being able to redirect to a custom
    error page to no avail. It seems that ASP.NET does not redirect 401 errors
    yet changing the Custom Errors redirect in IIS does not help either. Has
    anyone found a solution to this problem? Seems like it should be a commonly
    encountered problem. Any help will be greatly appreciated.
     
    tony, Aug 19, 2004
    #1
    1. Advertising

  2. Hi Tony,

    You cannot do this. The 401.3 is handled prior to ASP.NET's ISAPI filter
    having the opportunity to do anything with it.

    Jim Cheshire [MSFT]
    MCP+I, MCSE, MCSD, MCDBA
    Microsoft Developer Support


    This post is provided "AS-IS" with no warranties and confers no rights.

    --------------------
    >From: "tony" <test>
    >Subject: 401.3 error redirecting
    >Date: Thu, 19 Aug 2004 10:43:42 -0700
    >Lines: 8
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >NNTP-Posting-Host: 207-213-137-145.ded.pacbell.net 207.213.137.145
    >Path:

    cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
    .phx.gbl
    >Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:256245
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    >I've been searching through the threads to find a solution for 401.3 error
    >triggered by windows authentication not being able to redirect to a custom
    >error page to no avail. It seems that ASP.NET does not redirect 401 errors
    >yet changing the Custom Errors redirect in IIS does not help either. Has
    >anyone found a solution to this problem? Seems like it should be a

    commonly
    >encountered problem. Any help will be greatly appreciated.
    >
    >
    >
     
    Jim Cheshire [MSFT], Aug 19, 2004
    #2
    1. Advertising

  3. tony

    tony Guest

    Thanks for the response, I understand that ASP.NET will not be able to
    handle this error, is there another way to redirect a 401.3 error to a
    custom error page? I tried redirect in IIS under the custom error tag for
    the webpage, but that didn't work, it still shows the ASP.NET generated
    401.3 error page.


    "Jim Cheshire [MSFT]" <> wrote in message
    news:...
    > Hi Tony,
    >
    > You cannot do this. The 401.3 is handled prior to ASP.NET's ISAPI filter
    > having the opportunity to do anything with it.
    >
    > Jim Cheshire [MSFT]
    > MCP+I, MCSE, MCSD, MCDBA
    > Microsoft Developer Support
    >
    >
    > This post is provided "AS-IS" with no warranties and confers no rights.
    >
    > --------------------
    > >From: "tony" <test>
    > >Subject: 401.3 error redirecting
    > >Date: Thu, 19 Aug 2004 10:43:42 -0700
    > >Lines: 8
    > >X-Priority: 3
    > >X-MSMail-Priority: Normal
    > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    > >Message-ID: <>
    > >Newsgroups: microsoft.public.dotnet.framework.aspnet
    > >NNTP-Posting-Host: 207-213-137-145.ded.pacbell.net 207.213.137.145
    > >Path:

    >

    cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
    > phx.gbl
    > >Xref: cpmsftngxa10.phx.gbl

    microsoft.public.dotnet.framework.aspnet:256245
    > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > >
    > >I've been searching through the threads to find a solution for 401.3

    error
    > >triggered by windows authentication not being able to redirect to a

    custom
    > >error page to no avail. It seems that ASP.NET does not redirect 401

    errors
    > >yet changing the Custom Errors redirect in IIS does not help either. Has
    > >anyone found a solution to this problem? Seems like it should be a

    > commonly
    > >encountered problem. Any help will be greatly appreciated.
    > >
    > >
    > >

    >
     
    tony, Aug 19, 2004
    #3
  4. Tony,

    It sounds like you are trying to find a way to do this within IIS since
    ASP.NET cannot do it. If that's the case, you may want to post this
    question in an IIS newsgroup.

    Jim Cheshire [MSFT]
    MCP+I, MCSE, MCSD, MCDBA
    Microsoft Developer Support


    This post is provided "AS-IS" with no warranties and confers no rights.


    --------------------
    >From: "tony" <test>
    >References: <>

    <>
    >Subject: Re: 401.3 error redirecting
    >Date: Thu, 19 Aug 2004 14:37:51 -0700
    >Lines: 57
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >NNTP-Posting-Host: 207-213-137-145.ded.pacbell.net 207.213.137.145
    >Path:

    cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
    .phx.gbl
    >Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:256303
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    >Thanks for the response, I understand that ASP.NET will not be able to
    >handle this error, is there another way to redirect a 401.3 error to a
    >custom error page? I tried redirect in IIS under the custom error tag for
    >the webpage, but that didn't work, it still shows the ASP.NET generated
    >401.3 error page.
    >
    >
    >"Jim Cheshire [MSFT]" <> wrote in message
    >news:...
    >> Hi Tony,
    >>
    >> You cannot do this. The 401.3 is handled prior to ASP.NET's ISAPI filter
    >> having the opportunity to do anything with it.
    >>
    >> Jim Cheshire [MSFT]
    >> MCP+I, MCSE, MCSD, MCDBA
    >> Microsoft Developer Support
    >>
    >>
    >> This post is provided "AS-IS" with no warranties and confers no rights.
    >>
    >> --------------------
    >> >From: "tony" <test>
    >> >Subject: 401.3 error redirecting
    >> >Date: Thu, 19 Aug 2004 10:43:42 -0700
    >> >Lines: 8
    >> >X-Priority: 3
    >> >X-MSMail-Priority: Normal
    >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >> >Message-ID: <>
    >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >> >NNTP-Posting-Host: 207-213-137-145.ded.pacbell.net 207.213.137.145
    >> >Path:

    >>

    >cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1

    2
    >> phx.gbl
    >> >Xref: cpmsftngxa10.phx.gbl

    >microsoft.public.dotnet.framework.aspnet:256245
    >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >> >
    >> >I've been searching through the threads to find a solution for 401.3

    >error
    >> >triggered by windows authentication not being able to redirect to a

    >custom
    >> >error page to no avail. It seems that ASP.NET does not redirect 401

    >errors
    >> >yet changing the Custom Errors redirect in IIS does not help either.

    Has
    >> >anyone found a solution to this problem? Seems like it should be a

    >> commonly
    >> >encountered problem. Any help will be greatly appreciated.
    >> >
    >> >
    >> >

    >>

    >
    >
    >
     
    Jim Cheshire [MSFT], Aug 23, 2004
    #4
    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. Vijayakrishna Pondala

    The remote server returned an error: (401) Unauthorized

    Vijayakrishna Pondala, Aug 22, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    28,108
    William C.
    Aug 22, 2005
  2. San

    WebException: error: (401)

    San, Jul 7, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    401
  3. Jim Cheshire [MSFT]

    RE: Custom Error Page - Error 401 not Working

    Jim Cheshire [MSFT], Jul 19, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    1,352
    Jim Cheshire [MSFT]
    Jul 21, 2004
  4. obeOnline
    Replies:
    2
    Views:
    20,564
    obeOnline
    Jan 27, 2005
  5. rote
    Replies:
    4
    Views:
    1,787
    Alexey Smirnov
    Aug 4, 2008
Loading...

Share This Page