This is a multi-part message in MIME format.

------=_NextPart_000_0743_01C59397.8E971D20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

How to catch HTTP 404 errors in Sharepoint and re-direct the user to =
a custom error page.

I have added the following lines of code in web.config .

<customErrors mode=3D"On" defaultRedirect=3D"Error.aspx">

<error statusCode=3D"404" redirect=3D"Error.aspx" />

</customErrors>



But, it doesn't help.



Looking for a solution.



Thank You,

Regards,=20
______________________________


Jason S
Software Engineer=20
BRIDGELINE Software Inc.=20
Haleema Centre, #60,
60 Ft. Road, 5th A Block,
Koramangala, Bangalore 560095.

phone: +91.80.2563.0981 / 82 Ext:209 =20
email: sjason @bridgelinesw.com
web: www.bridgelinesw.com

Boston - New York - Wash DC - Bangalore


------=_NextPart_000_0743_01C59397.8E971D20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; How to catch HTTP =
404 errors in=20
Sharepoint and&nbsp;re-direct the user to a custom error =
page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have added the following lines of =
code in=20
web.config .</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIR><FONT color=3D#008000 size=3D2>
<P>&lt;customErrors mode=3D"On" defaultRedirect=3D"Error.aspx"&gt;</P>
<P>&lt;error statusCode=3D"404" redirect=3D"Error.aspx" /&gt;</P>
<P>&lt;/customErrors&gt;</P>
<P>&nbsp;</P>
<P><FONT face=3DArial color=3D#000000>But, it doesn't help.</FONT></P>
<P><FONT face=3DArial color=3D#000000></FONT>&nbsp;</P>
<P><FONT face=3DArial color=3D#000000>Looking for a solution.</FONT></P>
<P><FONT face=3DArial color=3D#000000></FONT>&nbsp;</P>
<P><FONT face=3DArial color=3D#000000>Thank You,</FONT></P>
<P><FONT face=3DArial color=3D#000000><FONT face=3D"Arial, sans-serif" =
color=3D#808080=20
size=3D2>Regards, </FONT><BR>______________________________<BR></P>
<P><FONT face=3D"Arial, sans-serif" color=3D#000000 size=3D2><B>Jason=20
S</B></FONT><BR><FONT face=3D"Arial, sans-serif" color=3D#808080 =
size=3D2>Software=20
Engineer </FONT><BR><FONT face=3D"Arial, sans-serif" color=3D#000000=20
size=3D2><B>BRIDGELINE Software Inc. </B></FONT><BR><FONT face=3D"Arial, =
sans-serif"=20
color=3D#808080 size=3D2>Haleema Centre, #60,<BR>60 Ft. Road, 5th A=20
Block,</FONT><BR><FONT face=3D"Arial, sans-serif" color=3D#808080=20
size=3D2>Koramangala, Bangalore 560095.</FONT><BR><BR><FONT=20
face=3D"Arial, sans-serif" color=3D#808080 size=3D2>phone:&nbsp; =
+91.80.2563.0981 / 82=20
Ext:209&nbsp;&nbsp;</FONT><BR><FONT face=3D"Arial, sans-serif" =
color=3D#808080=20
size=3D2>email: <A style=3D"COLOR: #808080; TEXT-DECORATION: none"=20
href=3D"mailto:sjason@bridgelinesw.com">sjason=20
@bridgelinesw.com</A></FONT><BR><FONT face=3D"Arial, sans-serif" =
color=3D#808080=20
size=3D2>web: <A style=3D"COLOR: #808080; TEXT-DECORATION: none"=20
href=3D"http://www.bridgelinesw.com">www.bridgelinesw.com</A></FONT><BR><=
BR><FONT=20
face=3D"Arial, sans-serif" color=3D#808080 size=3D2>Boston - New York - =
Wash DC -=20
Bangalore</FONT><BR></P></FONT></DIR></FONT></DIV></FONT></DIV></BODY></H=
TML>

------=_NextPart_000_0743_01C59397.8E971D20--

Re: Catching HTTP 404 errors and redirecting by Mike

Mike
Thu Jul 28 06:55:39 CDT 2005

Please do not post to both newsgroups.

For this question which is a borderline one, either WSS newsgroup would have
been OK, but both (with two threads resulting) as you have done with this is
one too many.

Please in future help us all by posting to one newsgroup and if you don't
receive a useful reply after a few days *then* posting to the other
newsgroup.

Thanks.

Mike Walsh, Helsinki, Finland
WSS FAQ http://wss.collutions.com
please reply to the newsgroup only
"Jason S" <jasonblr@gmail.com> wrote in message
news:u%23Fk%23l2kFHA.320@TK2MSFTNGP09.phx.gbl...
Hi,

How to catch HTTP 404 errors in Sharepoint and re-direct the user to a
custom error page.

I have added the following lines of code in web.config .

<customErrors mode="On" defaultRedirect="Error.aspx">
<error statusCode="404" redirect="Error.aspx" />
</customErrors>

But, it doesn't help.

Looking for a solution.

Thank You,
Regards,
______________________________

Jason S
Software Engineer
BRIDGELINE Software Inc.
Haleema Centre, #60,
60 Ft. Road, 5th A Block,
Koramangala, Bangalore 560095.

phone: +91.80.2563.0981 / 82 Ext:209
email: sjason @bridgelinesw.com
web: www.bridgelinesw.com

Boston - New York - Wash DC - Bangalore