473,399 Members | 2,159 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,399 software developers and data experts.

CustomError page not working?

I have an ASP.NET 2.0 application that is giving me exception errors when
particular queries are run. Running webpage locally, I can see the stack
trace of the error. Running remotely, I get the frierndly page telling me
that there is an error and I have to change the "mode" in order to view
errors remotely and/or setup a CustomerError page.

I have a custom error page setup but ASP doesn't seem to be invoking it...

within the <system.web> I have:

<customErrors mode="RemoteOnly" defaultRedirect="~/Error.htm">
</customErrors>

This doesn't appear to be working. I've tried changing the path to
/Error.htm and also /AppDir/Error.htm without success.

Anyone have any ideas?

Feb 23 '06 #1
1 1340
Sorry -- this has been resolved. The code was commented out... it just
wasn't obvious since the comment tags were skewed...

"dm1608" <dm****@spam.net> wrote in message
news:ey**************@TK2MSFTNGP09.phx.gbl...
I have an ASP.NET 2.0 application that is giving me exception errors when
particular queries are run. Running webpage locally, I can see the stack
trace of the error. Running remotely, I get the frierndly page telling me
that there is an error and I have to change the "mode" in order to view
errors remotely and/or setup a CustomerError page.

I have a custom error page setup but ASP doesn't seem to be invoking it...

within the <system.web> I have:

<customErrors mode="RemoteOnly" defaultRedirect="~/Error.htm">
</customErrors>

This doesn't appear to be working. I've tried changing the path to
/Error.htm and also /AppDir/Error.htm without success.

Anyone have any ideas?

Feb 23 '06 #2

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

Similar topics

0
by: Nadagouda | last post by:
Hi, Im trying http:\\localhost\WebService1\Service1.asmx?wsdl=. I am getting http 500 internal error instead of that i want to use mycustom page. I tried all the following options. 1. IIS...
2
by: Robert M | last post by:
Hello, I want to redirect to errorpage.aspx on a deplyed application and does not work... can anybody help.. thank u
0
by: Richard | last post by:
Hi, I have deployed a simple asp.net application to a hosted server. I had it working OK but I wanted to make a change and somehow it has gotten into a state where it reports an error but acts as...
0
by: Cezar | last post by:
Hello, I downloaded and installed the Framework on a server but when I try to run a simple .NET Web application, a simple aspx page with one label, I get this error. The customError tag on...
0
by: Cezar | last post by:
Hi, This is a repost. I installed the framework on a W2K server and when I try to run a simple .net application, an aspx page with a label, I get this Runtime Error: ---- Runtime Error ...
3
by: Mark | last post by:
I'd like to avoid displaying the nasty built-in ASP.NET error for a 401.2, access denied. We're using windows authentication. The error message that is displayed by default is printed below. I'd...
4
by: Paul | last post by:
I have written a custom dll that I put inside the /bin directory of a production IIS server. Inside the config file of the web application i have added the following setting: <httpModules>...
5
by: Mossman | last post by:
Hello, I am not sure what to look at next on this issue so any information and/or links to web sites would be greatly appreciated. I have developed an ASP.NET application using VB.NET. I...
0
by: Patrick.O.Ige | last post by:
I have 2 projects named Webproject and Kefi and in the webconfig i have the same configuration below for the 2:- <customErrors defaultRedirect="error.aspx" mode="On"> <error statusCode="500"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.