Solved

Run-time Error '3706' Provider cannot be found. It may not be properly installed.

Posted on 2003-11-12
4
46,943 Views
Last Modified: 2013-12-25
I get the following message when trying to connect to an advantage database:

Run-time Error '3706' Provider cannot be found. It may not be properly installed.

It works fine when I try and connect to the database using the machine the application was developed on, but get the error when using a different pc even though i am usings the same .exe and database?

My VB code is as follows:

ConnObj.Open "Provider = Advantage OLE DB Provider;Data Source = C:\Program                                                                                    Files\Acorn\Database\connex.add;ServerType=ADS_LOCAL_SERVER; TableType=ADS_ADT;"

0
Comment
Question by:petelazell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
SQLMaster earned 250 total points
ID: 9731840
Make sure that Advantage OLE DB provider is registered in other machine which you are using to connect to database
0
 

Author Comment

by:petelazell
ID: 9732014
Well done, works a treat now!!
0
 
LVL 3

Expert Comment

by:SQLMaster
ID: 9732068
Great. Now, please award points
0
 
LVL 1

Expert Comment

by:raajbaid
ID: 12344976
Thank you very much. But I donot know how to register it. I'm using following string.

cnnstr="Provider=ORAOLEDB.Oracle;Data Source=payrolldb;User ID=administrator;Password=admin;"
cnn.open cnnstr

The data source is stored on a win2K server and the VB6 P&D application I'm trying to install on a client connected to the server through LAN. I have registered all the DLL files incorporated with my application using "REGSVR32 path\dllfilename.dll". The files were successfully registered. But it did not work. Then I copied all the DLL files to \windows, \windows\system, \windows\system32 directories but still it did not work. Kindly suggest some solution.

raaJAINdra
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question