Solved

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

Posted on 2007-11-16
2
2,101 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 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