Re: Windows Authentication, Custom Error Page HELP!!!!!!!!!!

From: Eric (fish11@earthling.net)
Date: 08/22/02


From: "Eric" <fish11@earthling.net>
Date: Thu, 22 Aug 2002 13:38:49 +0200


For Error handling try this settings in web.config:

<configuration>
    <system.web>
            <customErrors> defaultRedirect="genericerror.htm"
                            mode="RemoteOnly">
                    <error statusCode="500"
                                redirect="InternalError.htm"/>
            </customErrors>
    </system.web>
</configuration>

If it doesn't work with "401.1", try to make one error page with different
output messages.

Eric

"george d lake" <georgel@valleyyellowpages.com> schrieb im Newsbeitrag
news:uJfjl9SSCHA.2648@tkmsftngp08...
> Hi to all,
> Here is my problem.
> I need to use Windows auth for my Intranet, but I need to force login each
> time the open a new browser (assuming that there are all closed).
> Also, I need a custom Error Page (login) for Errors 401.1 and 401.2
>
>
> Thanks.
> George.
>
>



Relevant Pages

  • Re: Customerrors in web.config question
    ... description on the different levels of error handling in IIS 6 and ASP.NET ... > error settings defined within the IIS metabase and not by the ... >>web.config file with a customerrors element that points the error handling ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error 2501 Top Tip
    ... "Specifies the settings, error handling, and compile settings for your current Visual Basic project." ...
    (comp.databases.ms-access)