Results 1 to 10 of 10

Thread: Pease help! - ADO Question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    86

    Cool

    I`ve just written an application that works with an Access 97 database file.
    When I try to run it on a different computer other than the one I wrote it on I get the following message...
    Run time error '3706'
    ADO could not find the specified provider.


    Can anybody help me?


    Kelly



  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    You may need to register the data source via the ODBC icon in Control Panel. Make sure to use the same DSN name as the one on the original machine.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    86
    I still seem to get the same message. Have I missed anything with my code...

    'To initialize database.

    ConnectDB.Open ("Provider = Microsoft.Jet.OLEDB.3.51;Persist Security Info = False;Data Source=c:\data\data1.mdb")
    RecDB.Open "Table1", ConnectDB, adOpenKeyset, adLockOptimistic


    Thanks

    Kelly


  4. #4
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137
    You don't have Microsoft Data Access Components (MDAC) installed on the other computer.

    MDAC contains the Jet Database engine that your code is trying to use.

    Get MDAC from

    [url]www.microsoft.com/data[url]

    Under the ADO section.

    I believe the current release is MDAC2.5 which uses Jet 4.0 but it is compatible with previous version as far as I can determine.

    Hope this helps
    Regards

    Matt Brown
    Hamilton, NZ
    VB6 C++ in Visual Studio 6sp4
    VB.net Beta 1

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    86

    Smile

    Thanks for your help guys...

    I noticed that the lastest MDAC release is for windows 2000.
    Will I run into problems with NT4.0 and win98.

    Thanks
    Kelly

  6. #6
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137
    My understanding is that it is compatible with all platforms from 95+, I run MDAC 2.4 on my Win95 box with no problems. MDAC 2.5 was released with Win2000 so therefore it gets labelled with it but will work fine elsewhere as well.

    I believe you can still download MDAC 2.4 if you prefer however.

    Regards

    Matt Brown
    Hamilton, NZ
    VB6 C++ in Visual Studio 6sp4
    VB.net Beta 1

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    86
    I still seem to be having trouble. I installed MDAC 2.5 and received the following error message...

    Run time error '3706'
    Provider cannot be found. It may not be properly install.


    Apart from running the installation program, does anything else have to be changed? ie. controll panel, registery??


    Thanks
    Kelly

  8. #8
    Guest
    I believe you would have to install the same version of MDAC as referenced in your project.

  9. #9
    Addicted Member Bregalad's Avatar
    Join Date
    Jul 2000
    Location
    Oslo,Norway
    Posts
    183

    MDAC / Jet.3.51

    Looks like you need MDAC20 to be able to use Jet 3.51

    http://support.microsoft.com/default...;en-us;Q197902

  10. #10
    Hyperactive Member JazzBass's Avatar
    Join Date
    Jun 1999
    Posts
    393

    Smile Kelly

    Hi Kelly,

    Why don't you install MDAC 2.5 on your system (Development)first, then reference the 2.5 library for your program, change your connection string, and reinstall your app.

    That should get it running. Good call on the knowledgebase article.

    JazzBass
    JazzBass
    In the .NET era
    Trying to remember VB6
    Progress:
    XP Professional @ Home
    and @ the Office

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