Hi,
I am completely stuck on this one, any help will be appreciated.
I have a code which is supposed to do inserts/updates in database. I have connected to database using both (one commented out):
SSL encryptions are included in dsn, as well as in later connection string. Update/Insert worked without an issue for myself. However a moment someone else is accessing excel and tries to run same code they get RunTime error saying "Data source name not found and no default driver specified".
Once again any help appreciated
I am completely stuck on this one, any help will be appreciated.
I have a code which is supposed to do inserts/updates in database. I have connected to database using both (one commented out):
Code:
Sub SQLConnection()
Dim oConn As ADODB.Connection
Set oConn = New ADODB.Connection
oConn.Open "fullfilepath\RSReports.dsn", "MyUserId", "MyPassword"
'oConn.Open "Driver={MySQL ODBC 5.3 Unicode Driver};Server=myserver.com;User=MyUserId;Password=MyPassword;sslca={filepath\ca.pem};sslcert={filepath\cert.pem};sslkey={filepath\key.pem};sslverify=1;Option=3;"
End sub
SSL encryptions are included in dsn, as well as in later connection string. Update/Insert worked without an issue for myself. However a moment someone else is accessing excel and tries to run same code they get RunTime error saying "Data source name not found and no default driver specified".
Once again any help appreciated