473,379 Members | 1,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

401.3 error redirecting

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.
Nov 18 '05 #1
3 2440
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
ja******@online.microsoft.com

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: <O2*************@TK2MSFTNGP12.phx.gbl>
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!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gblXref: 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 commonlyencountered problem. Any help will be greatly appreciated.


Nov 18 '05 #2
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]" <ja******@online.microsoft.com> wrote in message
news:yt**************@cpmsftngxa10.phx.gbl...
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
ja******@online.microsoft.com

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: <O2*************@TK2MSFTNGP12.phx.gbl>
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!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:256245X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I've been searching through the threads to find a solution for 401.3 errortriggered by windows authentication not being able to redirect to a customerror page to no avail. It seems that ASP.NET does not redirect 401 errorsyet 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.

Nov 18 '05 #3
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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
From: "tony" <test>
References: <O2*************@TK2MSFTNGP12.phx.gbl> <yt**************@cpmsftngxa10.phx.gbl>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: <uk*************@TK2MSFTNGP12.phx.gbl>
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!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gblXref: 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]" <ja******@online.microsoft.com> wrote in message
news:yt**************@cpmsftngxa10.phx.gbl...
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
ja******@online.microsoft.com

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: <O2*************@TK2MSFTNGP12.phx.gbl>
>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!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1

2
phx.gbl
>Xref: cpmsftngxa10.phx.gblmicrosoft.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.3error >triggered by windows authentication not being able to redirect to acustom >error page to no avail. It seems that ASP.NET does not redirect 401errors >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.
>
>
>



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Philip Ronan | last post by:
OK, here's my 2p worth: === Q. Why am I getting the error message 'Headers already sent'? A. PHP produces this error message when you try to set a header for a web page after you have already...
2
by: John Mack | last post by:
Intermittently I get the following error on Firefox: "Error: uncaught exception: Permission denied to get property HTMLDocument.window" What can cause this error? I do an image switch via JS...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
25
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from...
1
by: rubikzube* | last post by:
I am attempting to place a call to make via System.Diagnostics.Process using the sample code below. If I comment out the two problem lines indicated, then the code runs smoothly and make performs...
8
by: Morpheus | last post by:
I am trying to test a function that outputs text to the standard output, presumably using a cout call. I do not have access to the source, but need to test the output. Is this possible? I can...
8
by: Taras_96 | last post by:
Hi everyone, We' ve come to the conclusion that we wish the user to be directed to an error page if javascript is disabled <enter comment about how a webpage shouldn't rely on javascript here :)...
17
by: mansb2002 | last post by:
Hi, We recently moved our webserver from Win2K to Win2003. The application works fine. Only problem is that when user views a report as a PDF, IE does not show it. The following code is used to...
1
by: FrankRadio | last post by:
Im trying to catch all errors from my Phyton compiler. for that i'm using this code: This code work great, but i cant pharse the data using the split() function, the parse function comes empty,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.