VS.NET/C#/ASP.NET are our main development tools, however over the last couple of weeks I've had to add new functionality to a site that still runs classic ASP code. It's the first time in three+ years since I've written any ASP for any serious purpose and I have to say it's been a painful experience going back to Response.Write debugging - yeh ok it's possible to coerce Interdev, IIS and MTS|COM+ into some kind of configuration to allow debugging of ASP script but I could never utter the incantations properly, balance on one leg long enough and my jaw hurt at that angle. Anyway....I wasn't paying attention and in an include file I had absent mindedly written code that looked something like....
Dim response
response = SendPaymentToGateway(amount, cardnumber, ...blah...)
...for a few seconds it puzzled me as to why calling methods on the Response object, such as Response.Redirect, started throwing the strangest errors:
Microsoft VBScript runtime error '800a01a8'
Object required: 'Response'
ASP just sat there quietly and handed out the rope..... :-)