![]() |
|
|
|||||||
![]() |
ASP Net - Error messages for legacy ASP pages |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
If I leave a legacy ASP page in my web app, ASP.NET serves the page just
fine. If an error is encountered on the page, however, it doesn't give me the friendly error message that ASP did. The page I get is the 500 (Internal Server Error) page. Is there a way I can trap errors in a legacy ASP page and emit useful diagnostic info? Thanks! =?Utf-8?B?QnV0Y2g=?= |
|
|
|
|
#2 |
|
Posts: n/a
|
You'll have to put in a custom error page and set it up in the IIS manager
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com "Butch" <> wrote in message news:248E1AE9-F382-4340-A063-... > If I leave a legacy ASP page in my web app, ASP.NET serves the page just > fine. If an error is encountered on the page, however, it doesn't give me > the friendly error message that ASP did. The page I get is the 500 > (Internal > Server Error) page. Is there a way I can trap errors in a legacy ASP page > and emit useful diagnostic info? > > Thanks! Curt_C [MVP] |
|
|
|
#3 |
|
Posts: n/a
|
Try switching the 500-100 error in your IIS web site error messages to use
the IISHelp/common/500-100.asp error page that is provided with your IIS install. That will give you description, line number, etc. Thanks, Ian Suttle http://www.IanSuttle.com "Butch" wrote: > If I leave a legacy ASP page in my web app, ASP.NET serves the page just > fine. If an error is encountered on the page, however, it doesn't give me > the friendly error message that ASP did. The page I get is the 500 (Internal > Server Error) page. Is there a way I can trap errors in a legacy ASP page > and emit useful diagnostic info? > > Thanks! =?Utf-8?B?SWFuIFN1dHRsZQ==?= |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Canon iP4000 printer only prints test pages | jumar55 | Hardware | 0 | 05-03-2009 07:22 AM |
| How to open Web Application pages (ASPX) in Windows application. | arameshmca | Software | 1 | 02-07-2008 03:18 AM |
| Unable to view web pages | acaravia | General Help Related Topics | 1 | 08-07-2007 05:16 AM |
| .NET stops compiling some aspx pages | angelbrown | Software | 0 | 09-04-2006 01:48 PM |
| DVD web pages WTD | TSKO | DVD Video | 0 | 09-11-2003 08:04 PM |