Results 1 to 4 of 4

Thread: ADO CAN NOT FIND THE SPECIFIED PROVIDER

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Location
    Thailand
    Posts
    20

    Post

    I distributed the application using Package wizard. In my app i use microsoft access provider. I have a problem when i install my package. The error occur like this "ADO CAN NOT FIND THE SPECIFIED PROVIDER" . I 'd like to know what dll to fix thix error.

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    I beleive the provider is the string you put in the ADO control to tell it stuff about the DB you want to connect to. It looks something like this right?

    Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source="C:\MyDB.mdb";Jet OLEDB atabase Password=MyPassword

    Basically, it is saying something is wrong with that line. It could be when the app is installed on another computer, it is installed somewhere other than the path where you developed it. So VB is still trying to find C:\MyDB.mdb when infact it may be C:\MyApp\MyDB.mdb. Get the idea?

    To solve, programatically change the connection string of the ADO Control to where the person installed it on there computer, like this

    Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" & App.Path & "MyDB.mdb;Jet OLEDB atabase Password=MyPassword"

    This will access your database provided it is in the same folder as the executable.

    Hope that helps!

    (I HATE ADO BTW...whoever inveneted it should be shot!)

    Good luck,

    ------------------
    - Chris
    [email protected]
    If it ain't broke - don't fix it

  3. #3
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    By the way, those happy look chaps on my previous post are there because this BB interprets a colon followed by a "D" as a smiley picture....perhaps there should be a way to turn that off...

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Location
    Thailand
    Posts
    20

    Post

    Thank you so much chrisjk. i already use it but
    it's still error.

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