Solved

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

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

Independent Software Vendors: 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 I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

726 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