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