Solved

urgent asp question

Posted on 1998-08-17
1
146 Views
Last Modified: 2013-12-25
Can I handle errors in ASP's?Can u give me some sample code?I need it urgently.please help me as quick as possible.....
0
Comment
Question by:rvsamuel
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 20 total points
ID: 1854385
Simple what you have to do is use the line

On Error Resume Next

This is the only error checking that ASP has.  Then after a line where you expect and error you check the Err object.  The error object has these properties (Number, Description, plus others)
Then you can check for whatever error you expect and handle it.

That's all there is to it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Link to post behind image slider 1 51
Does it make sense migrate a website to MIcrosoft Azure 4 47
remove border from element 5 52
Web Reply Form - PHP with Upload 4 54
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now