Link to home
Start Free TrialLog in
Avatar of reed1989a
reed1989a

asked on

Object required. Error 1AB

Thank you, Thank you, Thank you so much for reading this.

This code does work in a stand alone vb script.
set ado = Server.CreateObject("ADOCOM.clsRecordset")

When the same code is served in an ASP classic page on my local machine the same line of code fails.
 
Action: Server.CreateObject ADOCOM.clsRecordset
Source: Microsoft VBScript runtime error
Number: 1A8
Description: Object required
 
I tried removeing the Server. portion but the vbscript inside asp still fails.  
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

I'm not sure what ADOCOM is, but whatever it is would need to be installed and configured on the server delivering the ASP content. In your case, since (I'd assume) that you are running it on the same machine where you're running the vbscript, then I'd suspect that you have some form of permissions issue in regards to this library where ASP cannot properly interact with it.
Avatar of reed1989a
reed1989a

ASKER

Thank you for bearing with me.
This code runs as expected on the remote development server.
The dll is installed in the same directory on my local machine and the development derver.
The dll is regristered.

The access permissions appear the same.

Do IIS application pools affect library access ?
But does your local IUSER (or whatever the ASP user is) have permission to use this? I'm grasping at straws here, but it seems to me that at some level the ASP user on your local machine may not have the needed permissions to create this object. I'll admit I haven't dealt with ASP classic in a while, so I may be somewhat rusty with this.
ASKER CERTIFIED SOLUTION
Avatar of reed1989a
reed1989a

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial