Skip to Main Content

Provider cannot be found, It may not be properly installed.

3514477Jul 31 2017 — edited Jul 31 2017

Hi,

I have written excel macro to connect Oracle Database to get the data. It is perfectly working fine.

I have tried below connection strings.

    1. con.Open ("User ID=xxx;Password=yyy;Data Source=zz;Provider=oraOLEDB.Oracle")

   

    2.

     strCon = "Driver={Microsoft ODBC for Oracle}; " & _

    "CONNECTSTRING=(DESCRIPTION=" & _

    "(ADDRESS=(PROTOCOL=TCP)" & _

    "(HOST=<servername>)(PORT=pno))" & _

    "(CONNECT_DATA=(SID=sid))); uid=xxx; pwd=yyy;"

    con.Open (strCon)

   

When I copy this excel file in end user machine it is throwing below exception:

Run-time error '3706':

Provider cannot be found. It may not be properly installed.

So, an end user must have the "Oracle Client" in his machine to run this macro on his machine? or is there any way we can connect to oracle database from Excel without installing oracle client?

Thanks,

Suman

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Aug 28 2017
Added on Jul 31 2017
8 comments
22,743 views