Results 1 to 2 of 2

Thread: Runtime error '3706'

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    736

    Runtime error '3706'

    Hi,

    I am getting the message Runtime error '3706' when running the code below.
    Code:
        With dbMain
            .Provider = "MSDASQL.1"
            .ConnectionString = "Persist Security Info=True;" & _
                                "User ID=fbimage;" & _
                                "Data Source=FBIVIEW"
            .Open
        End With
    This code works perfectly when my VB program runs as a stand-alone application. But when VB is called from a PowerBuilder app, the VB program stops at the above code.

    The rest of the error message is: "Provider cannot be found. It may not be properly installed."

    Has anyone out there encountered this message and found a solution to it?

    Thanks for any information.

  2. #2
    Fanatic Member vb_dba's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere aloft between the real world and insanity
    Posts
    1,016
    I've been getting this error recently on some of my client machines. When I reinstall MDAC 2.5 on those client machines, the error seems to disappear. You might try to reinstall whatever version of the MDAC components you are using and see if it works.
    Chris

    Master Of My Domain
    Got A Question? Look Here First

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