homepage Welcome to WebmasterWorld Guest from 54.197.94.241
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
How to create a custom error page from scratch?
Error page needs to display error generated
ImperialCommand




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

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?

 

LifeinAsia




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

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]

ImperialCommand




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

Solved.
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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved