Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creation of error page using ASP.NET

Status
Not open for further replies.

scotitpulsa

IS-IT--Management
Oct 1, 2003
61
US
I'm writing asp.net applications in dreamweaver and trying to learn the in's and out's of the language using C#. Only problem i'm having is that when i write a large sized application, try and run it, and there are errors, i have to go thru the code line by line. *quite frustrating*. I'm wondering if someone could tell me a way that I can get some sort of feedback on a possible location(s) that the errors are being caused.
 
You may want to look into the Exception Application Block on msdn. It is microsoft code you can use or customize. We are using it to handle our exceptions.

 

I'm not familiar with C#, however I'm sure you can apply it to your needs.

this code is in VB:

Try

dim s as string="test"
dim x as integer=s

catch myException as Exception
'insert code here to handle the error/exception

end try

hope this helped

Sam



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top