473,387 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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!
Nov 18 '05 #1
2 952
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" <Bu***@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
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!

Nov 18 '05 #2
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!

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
13
by: Wally Sanford | last post by:
The W3C CSS Validator was fine with http://wallysanford.com until this afternoon. Now it gives this error message: " Line: 0 Context : body Parse Error - " The page validates as XHTML. Any...
0
by: inetmug | last post by:
Hello: I am using ASP.NET as our front end. I also have to interface to some legacy systems that use a callback mechanism. The legacy systems use callbacks (via CORBA) to communicate back to...
7
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had...
5
by: | last post by:
I love the .NET framwework. Compared to mfc this is a dream to work with. I would love if the C# and maybe other languages too, somehow gives more friendly messages when executed on a machine...
9
by: Tyler | last post by:
I am attempting to extend a legacy VB6 application by making it use a .NET component written in C# exposed through COM interop. Everything appeared to be going well (VB application creates the...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
6
by: José Joye | last post by:
Hello, I'm currently reading the MS Developing Web applications with c# (and VB.net). In the chapter related to Error management, there is a sample about "Page-Level Error Pages" eg: In my...
2
by: FutureShock | last post by:
I am using a registration class to process a registration form and need some opinions on returning error messages. I am self referring the page on submit. I would like to send each form field...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.