Trying to read excel file OLEDB object
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-17 05:18 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-17 07:20 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-17 10:29 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-07-17 07:50 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-07-17 11:29 AM
Hi,
If you still have problem, go to ""https://www.connectionstrings.com/"
There is plenty of connection strings 😉
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-07-17 12:24 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-09-17 12:40 AM
Hi,
If you arw getting invalid database error than you need to install ace oledb drivers.
Regards,
Ravinder Singh
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-09-17 04:05 PM
Hi Prateek,
I needed to update my OLEDB object to be able to provide it correct connection string, try to import it.
