Link to home
Start Free TrialLog in
Avatar of triphen
triphen

asked on

VB6 Run Time Error 3706

Hello Experts,

When running my application on another Windows XP PC I get error:

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

It works fine on my machine, I am sure I am missing a dependency. Any idea which one?

My code:

Dim myConn As New ADODB.Connection
myConn.ConnectionString = "Provider=SAOLEDB.10;Password=pass;Persist Security Info=True;User ID=dba;Data Source=sqlbase;Location=sqlbase"
myConn.Open

I think this is what is causing the error, I am not sure tho
ASKER CERTIFIED SOLUTION
Avatar of triphen
triphen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of triphen
triphen

ASKER

Uhhh, never mind, I found the problem while reading my question. The database version is different on the second machine.

Case closed :)