If you’re trying to wire up to Excel using a file extension other than .xls or .xlsx, you may get one or more of the the following errors:

File path contains invalid Excel file. Please provide file with .xls or .xlsx extension.

Test connection failed because of an error initializing provider. Could not find installable ISAM.

Test connection failed because of an error in initializing provider. Unrecognized database format ‘filename’


When I tried for the first time to connect I was here:

image 

image

image

image


Simply connect to an OLE DB source and not an Excel file, and set a couple of properties and you should be gold.

image

image

image

image

If you reverse the order of the HDR and the Excel 12.0 format in the “Extended Properties” box, it gives you an error, so do it in the order that I have, above.

Thanks for reading,

Lee Everest

 

---------------------------

The SQL Police should have no problem with this post…I think.


Posted in: SSIS  Tags:
blog comments powered by Disqus

by Lee Everest, M.S.

Info

Poll

Do you use Azure or cloud in your organization?



Show Results

Ads

Search


Month List

Calendar

«  May 2012  »
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
View posts in large calendar

Tags

Disclaimer
The opinions, code, examples, et.al. expressed herein are my own personal opinions and do not represent my employer's view in any way, shape form, or fashion.  All code for demonstration purposes - no guarantees, either written or implied, are made.

© Copyright 2012 Lee Everest's SQL Server, etc. weblog