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

customErrors redirect gives blank page

Hi All,

I've searched around this group and can't find anyone who has seen/
reported this problem before, so hopefully someone out there can help
me out....I'm using a .NET 2.0 web application with a custom errors
section set to "RemoteOnly" with a redirect to a custom error page -
the goal is to have any unhandled exception gracefully handled and
rendered to the user. However, when my application is hitting this
error, I am not getting the nice error page, but instead am getting a
blank screen, with only the basic html tags...(for any of you familiar
with how a page looks with the .NET ISAPI filters aren't registered,
this is the same output). I can load the error.aspx page
independently and it resolves, but I cannot get it to work through the
custom errors route.

The other perplexing thing is that this works on other servers, just
not this particular web server, so it is likely a configuration
setting somewhere, but I am at a loss as to what it is.

Thanks,

Wardy

Mar 20 '07 #1
0 1043

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

Similar topics

10
by: Ron Weldy | last post by:
I am working on a website that someone else has set up. They have a web.config file with a customerrors element that points the error handling to a special aspx page. <customErrors...
6
by: SMG | last post by:
Hi , Sory for incomplete message in last post here is the actual problem.. I am using following code in web.confiig for trapping all the error through out my site.. <customErrors mode="On"...
0
by: wrytat | last post by:
I tried working with the customErrors tag so that when the user tries to access a page that doesn't exist, it will redirect him to the page not found page. I discovered that it works when my...
6
by: ad | last post by:
I have set customErrors to On and set a defaultRedirect in Web.config like: <customErrors mode="On" defaultRedirect="~/ErrorPage/GenericErrorPage.aspx"> When I throw a exception in Global.asax...
0
by: Les Caudle | last post by:
I can set up CustomErrors to redirect a missing aspx page to Register.aspx like: <customErrors mode="RemoteOnly" defaultRedirect="ErrorPage.aspx"> <error statusCode="404"...
9
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. Is it programatically possible in VB.NET to read the contents of web.config's <customErrorselement? I looked at using ConfigurationSettings.AppSettings, but that doesn't work. I need to...
1
by: jobs | last post by:
Hello. I've got a customerrors section in my web.config that redirects all errors to an ErrorPage.aspx <customErrors defaultRedirect="~/ErrorPage.aspx"> <error statusCode="403"...
3
by: =?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?= | last post by:
I have <customErrors .. in my web.config but the redirect does not kick in. What am I doing wrong? <customErrors defaultRedirect="Error.aspx" mode="On"> <error statusCode="404"...
3
by: Tahir | last post by:
Hi, i am delevoping an ASP.NET website which worked well on my old web host and now working on localhost but now it doesnt works on my new host. i have new registered and ftp the files that...
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.