If you're as big a fan of My Name is Earl as I am, you'll understand me when I say that Karma is punishing me today for the ASP code that I wrote circa 1998. I've been messing with some legacy ASP code that wasn't working in one environment, and had to resort to this
On Error Resume Next
' Do stuff
If err.Number <> 0 Then
Response.Write "Number = " & err.Number & "<p>"
Response.Write "Description = " & err.Description & "<p>"
Response.Write "Source = " & err.Source
err.Clear
End
I've been bad mouthing ASP.Net lately at work and in user groups (and RoR is just so shiny and new), but give me ASP.Net over spaghetti code ASP and VBScript any day of the week.