Results 1 to 4 of 4

Thread: ado could not find the specified provider

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241
    that's the error im receiving here is my code:

    Set mCN = New Connection

    With mCN
    .ConnectionString = "Provider=Microsoft.jet.oledb.4.00;datasource='c:\my documents\people.mdb'"
    .CursorLocation = adUseClient
    .Open


    does anyone have an ideas what the problem could be; i would appreciate any help.

    i have mdac 2.1 installed

  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386
    Use OLE DB provider 3.51
    I've had this problem.. installed on a clean machine provider 4.0 is installed, but a machine where Office 97 already was installed had provider 3.51 installed, and my installation didn't install 4.0 :-(
    I have an error handling like
    On Error Resume Next
    ' open connection with provider 4.0
    If Err.Number <> 0 then
    ' if that failed, try it withh provider 3.51
    End if

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241
    now im getting:

    "couldn't find installable isam" with both 3.51 and 4.00 when i call them through code

    help

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    When you specify the OEDB provider for 4.0, you have extra 0 (zero) there.

    Should be something like this:

    Code:
    cn.Provider = "Microsoft.Jet.OLEDB.4.0"
    cn.Open "C:\MyDB.mdb", "admin", ""

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