Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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 on Aug 28 2017
Added on Jul 31 2017
8 comments
25,014 views