Solved

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

Posted on 2003-11-12
4
46,845 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a duplicate finder Application 9 120
VBA open file from excel cell 4 42
SSRS expression Issue finding a string 10 78
Copy a row 12 61
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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