Solved

Unable to declare .xls as SSIS datasource. ERROR: External table is not in the expected format.

Posted on 2007-11-16
2
2,093 Views
Last Modified: 2008-12-30
I receive an xls file from a ftp process nightly.  It's generated by another process by another company.

When I try to declare this as a data source in SSIS I get the following:

TITLE: Microsoft JET Database Engine
------------------------------

External table is not in the expected format.

------------------------------
BUTTONS:

&Retry
Cancel
------------------------------

If I open the file, and save it i am prompted with the Following:

fileName.xls may contain features that are not compatible with Text (Tab delimited). Do you want to keep the workbook in this format?

*To Keep the format, which leaves out any incompatible features, click Yes.
*To Preserve the features, click No.  Then save a copy in the latest Excel format.
*To see what might be lost, click Help.

and i can click Yes, No, or Help
What can I do to convert this to a file that SSIS can use as a DataSource?

Thanks

Pete
0
Comment
Question by:priehl
2 Comments
 
LVL 25

Accepted Solution

by:
imitchie earned 500 total points
ID: 20324879
hi priehl,

does it only have one sheet? if so, open the Excel file, Select and Copy All.
open Notepad, then paste it in there (including tabs).
Save the file

Point SSIS to the file as tab-delimited.
0
 

Author Comment

by:priehl
ID: 20328159
Great Call,

I realized yesterday when i opened the file in a text editor that it wasn't in fact a .xls file, but in fact, as you guessed a tab delimited CSV file.  So I was able to get SSIS to read it as a Flat file.

Thanks
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now