cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to read excel file OLEDB object

PrateekMehan
Level 6
Hi, When I try to configure OLEDB object to read data from a heavily loaded excel I get the following error : "Internal : Could not execute code stage because exception thrown by code stage: Unrecognized database format 'C:\Users\213348324\Desktop\Technical Evaluation.xlsx'." Also when I referred the document for OLEDB it says set connection has four inputs: User name, Password, Provider, Connection String. But going through my BP VBO I don't find the "connection string " input. Please assist any advice /suggestion would be appreciated. Thanks In advance.
7 REPLIES 7

Anonymous
Not applicable
Hey, That's a exemplary connection string ""Provider=[variable];Data Source=[variable];Persist Security Info=True"" You provide arguments to create it. You dont provide connection string to a connection string ;) That's why in BP VBO you are missing connection string input.

hi, but at my end I probably tried everything and still the error remains same I am not able to fetch data from the heavily loaded excel error says ""not a valid database format

polinenileela_b
Level 4
Hi Prateek , In Database give your data base name , Provider u can give ""MSDAORA"" or ""MSDAORA.1"" user Id and password are your credentials hope it helps.. Thanks

Anonymous
Not applicable
Hi, If you still have problem, go to ""https://www.connectionstrings.com/" There is plenty of connection strings 😉

PrateekMehan
Level 6
I am trying to read an excel so my database here is the excel file. And if you have a look at the new OLEDB object it doesn't have a connection string input, I hope u didn't get my question Anyways thanks I will figure it out.

Hi, If you arw getting invalid database error than you need to install ace oledb drivers. Regards, Ravinder Singh

JiriPospisil
Level 4
Hi Prateek, I needed to update my OLEDB object to be able to provide it correct connection string, try to import it.