See if this TechNote helps:
ASP error "VBScript compilation error '800a0401' "
http://www.adobe.com/go/15717
Are you using the ASP VBScript server model?
Try creating a simple recordset that displays all records
from a table and
see if you can get that to work. It's less complex code than
the user
authentication server behavior and might help to isolate the
problem.
--
David Alcala
Adobe Product Support