Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Error messages for legacy ASP pages

 
Thread Tools Search this Thread
Old 11-15-2004, 03:18 PM   #1
Default Error messages for legacy ASP pages


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=?=
  Reply With Quote
Old 11-15-2004, 03:24 PM   #2
Curt_C [MVP]
 
Posts: n/a
Default Re: Error messages for legacy ASP pages
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]
  Reply With Quote
Old 11-15-2004, 11:12 PM   #3
=?Utf-8?B?SWFuIFN1dHRsZQ==?=
 
Posts: n/a
Default RE: Error messages for legacy ASP pages
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==?=
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46