Unable to connect to Oracle DB using lr_db_connect

Hi All,

I am trying to connect to Oracle DB using lr_db_connect but getting following error.

Script:

lr_db_connect("StepName=StoredProc",
"ConnectionName=DB_Connect",
"ConnectionString=Provider=OraOLEDB.Oracle.1;Data Source=<hostname:portnumber>;User ID=<MyUID>;Password=<mYPassword>",
"ConnectionType=OLEDB",
LAST); 

Error Log:


DB Connection failed {"The 'OraOLEDB.Oracle.1' provider is not registered on the local machine."}
Error (-17939): DB Connection failed {"StoredProc"}
Abort was called from an action.

I tried installing both 64 and 32 bit of SQL Developer tool but still throwing same error. Any thoughts.

Thanks,

Narmadha

  • 0  

      ,

    Please check the error message The OraOLEDB.Oracle.1' provider is not registered on the local machine.on google. Looks to me a generic error of the Oracle API.

    Note that LRE/LRP is a 32 bit application.

    P.S.

    1. Do not send private messages to push things. Posting on forum will give you most exposure to your problem.

    2. Read the linked article below 'How to ask questions'

    How to ask questions

    Reward contributions via likes or 'verified answers'