Results 1 to 11 of 11

Thread: ADO distribution files

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 1999
    Posts
    93

    Post

    I'm building setup for a project that references ADO 2.0 library. The setup program doesn't return any errors and it looks like setup passes successfully. But when i try to open connection to database I get runtime error 2147221164. It seems to me that I don't include all necessary files for ADO. Anybody knows what's a full kit of these files?
    Regards,
    Vit

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    What driver are you using to connect to your database and what MDAC version are you distributing?

    Tom

    ------------------
    [email protected]
    [qualifications and/or certifications here]

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 1999
    Posts
    93

    Post

    I connect to MSAccess database through Jet and use MDAC 2.0

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    are you using the Microsoft.Jet.OLEDB.3.51 or the Microsoft.Jet.OLEDB.4.0?

    Are you distributing the MDAC 2.0 or 2.1? You might be referencing the ADO 2.0 but what MDAC_TYP.EXE are you distributing to your clients?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 1999
    Posts
    93

    Post

    I use ADO 2.0 and distribute MDAC_TYP.Exe with product version 4.71.1015.0 and file version 2.0.0.3002.15. My Jet OLEDB version is 3.51

    ------------------
    Regards,
    Vit

    [This message has been edited by Vit (edited 10-26-1999).]

  6. #6
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    If you enumerate thru the ADO errors collection, do you get any more info?

  7. #7
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    I searched thru MSDN support and the online library, only came up with this. It looks unrelated but has that same error code....
    http://msdn.microsoft.com/library/of...97/web/015.htm

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Mar 1999
    Posts
    93

    Post

    The only info I get is that "ActiveX component can't create object". And my application is not internet-based one

    ------------------
    Regards,
    Vit

  9. #9
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Search in the registry on the problem machine for 'Microsoft.Jet.OLEDB.3.51' AND 'Microsoft.Jet.OLEDB.4' or 'Microsoft.Jet.OLEDB.4.0' (sorry, the machine i'm at right now doesn't have MDAC installed)

    do you find either one?

    Tom

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Mar 1999
    Posts
    93

    Post

    Well, I found the problem. MDAC_TYP wanted DCOM to be installed on the user mashine. Without it setup couldn't load some dll-s and register them.
    Anyway, thank you very much for your help

    ------------------
    Regards,
    Vit

  11. #11
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    DOH!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width