PDA

Click to See Complete Forum and Search --> : ASP Error Object


Chris_SE
Oct 18th, 2000, 11:08 AM
Okay to use the asperror object you have to use

set obj = server.geterror

but no matter where I place that code it errors, any ideas?

monte96
Oct 18th, 2000, 03:08 PM
That's because it's:

set obj = Server.GetLastError()

Chris_SE
Oct 18th, 2000, 04:53 PM
Thats what I meant, but does it work without the brackets at the end? Because I havent been using those

Chris_SE
Oct 18th, 2000, 04:59 PM
When I use

Dim obj
set obj = server.getlasterror()

I get this:
Object doesn't support this property or method: 'server.getlasterror'
I have put it EVERYWHERE in my code and it still does that. I just don't think the Err object is adequete. Any more ideas?

Chris_SE
Oct 18th, 2000, 05:39 PM
i just really need help with this

Chris_SE
Oct 18th, 2000, 06:20 PM

monte96
Oct 18th, 2000, 07:12 PM
It is only available in ASP 3.0 and IIS 5.0