Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new ActiveXObject in ASP

Status
Not open for further replies.

phzero

Programmer
Joined
Feb 14, 2002
Messages
86
Location
ZA
Hi all,

I've created an ActiveXObject in my asp page. It works on my machine when I locally test the page, but not on any other machine. The error I get is the following: "Automation Error - Unable to create ActiveX Object". Can anybody tell me where to find the distributable for this component. What do I have to install on the client machine, if anything, for this to work. Here is a fragment of my asp code:

var TelNum, db, rsBrnInfo, rsCostCenter, cmd;

// Instantiate the objects
db = new ActiveXObject("ADODB.Connection");
rsBrnInfo = new ActiveXObject("ADODB.Recordset");
rsCostCenter = new ActiveXObject("ADODB.Recordset");
cmd = new ActiveXObject("ADODB.Command");

This is the only place where I use the ActiveXObject. Any responses will be appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top