Hello, Ashwini. Does this link resolve your problem? http://www.vbforums.com/archive/index.php/t-356950.html
Did you install MDAC on your computer? http://www.microsoft.com/downloads/details.aspx?familyid=6c050fe3-c795-4b7d-b037-185d0506396c&displaylang=en On Mon, Dec 22, 2008 at 1:01 PM, Ashwini Khanna <[email protected]>wrote: > Hi, > > I think my question is being misunderstood by the group. > The problem has got nothing to do with the database. Anyway since you asked > it, its Oracle. > > The problem is - it can't create an object of type "ADODB.Connection". It > fails on that line only. It says ActiveX can't create an object. > Some time back I tried it on 2nd machine and it worked. I guess there is > come configuration issue. Or a different version of MDAC installed. > > I am still trying to find the reason but with no luck :-( > > Ashwini > > > Date: Mon, Dec 22 2008 12:06 am > From: "venkata koduri" > > > Hi Ashwini, > > Pls tell me your database. i.e. Oracle or SQL server.?? > > > On Mon, Dec 22, 2008 at 9:13 AM, Ashwini Khanna < > [email protected]>wrote <[email protected]%3ewrote>: > > > Hi Group, > > > > I am trying to establish a connection to an Access database using ADODB. > On > > the very first line QTP throws an error saying "ActiveX component can't > > create object: 'ADODB.Connection'" > > > > QTP version: 9.5 > > > > OS: Win XP > > > > CODE: > > > > Set objConn = CreateObject("ADODB.Connection") > > objConn.Open "Project_Data" > > (I have a DSN named "Project_Data") > > > > Any ideas on whats wrong? > > Thanks, > > Regards, > > Ashwini > > > > > > > > > > -- > Regards.. > Venkat > > > > -- Dmitry Motevich, http://motevich.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
