Object required: 'err'
Hi,
I have a method in an ASP class that returns an error message if an error occured:
If Err.Number <> 0 Then
...
All goes well if I use another test class to call the method. But when I use the class directly in an ASP page, I receive the following error:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'Err'
I could not find anything on the net related to this. Could anyone help me?
|