Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

How to create a custom error page from scratch?

Error page needs to display error generated



4:07 pm on Sep 25, 2007 (gmt 0)

5+ Year Member

I'm using .net2 - and trying set up a server application.
Something in the web.config file keeps breaking.
It won't display the line error code - but I think it would if I knew how to redirect it to a server generated page that contains the error code.

So I need to make a custom error page - one that will show the custom error - not just a static html page.
Am I making any sense to anyone?
Can you help?


4:59 pm on Sep 25, 2007 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

I'm not exactly sure what you're asking (I can see several possibilities), but if you redirect it to another page, I don't think it's going to display the error unless you pass the error as a parameter. And if you can pass the error as a parameter, then you should be able to just display it on that page.

I don't know .net2, but most application server software allows you to turn on debugging to see errors- you may want to look into that.

Alternatively, [webmasterworld.com...] might be a better place to post this.

[edited by: LifeinAsia at 5:00 pm (utc) on Sep. 25, 2007]


2:48 pm on Sep 26, 2007 (gmt 0)

5+ Year Member

I opened the web.config file in Microsoft Visual Web Developer 2005 (free app from ms) and it put a red underline where the code defects were made. Fixed that code mistake, uploaded the file, and the application worked.
Thanks for your response.

Featured Threads

Hot Threads This Week

Hot Threads This Month