views:

68

answers:

2

I currently have MS Excel 2.x (BIFF2) files that I receive from a client. They need to be loaded into an ETL system via SSIS. From what I can tell and from my tests, SSIS cannot read these files directly. I have also tried using Aspose.Cells for .NET to open / convert these files in .NET with no luck. Hopefully there is another way to read these files in and convert them to a usable format.

I know of many spreadsheet components on the market for .NET but I'd rather not have to download and test every single one of them to find out if they work with these files. Is there another component, solution or technique that I can use to convert such an old file format for use in SSIS?

Edit: Here is a sample of the file - http://dl.dropbox.com/u/7459431/Excel2.xls

A: 

Can MS Access import it?

Beth
Not sure. I've posted an example of the file for reference.
Saul Dolgin
sry, that site it blocked for me at work.
Beth
Corporate firewalls are the devil.
Saul Dolgin
Looks like it can't. At least not in my 15 second test with MS Access.
Saul Dolgin
does this help? http://msdn.microsoft.com/en-us/library/aa155429%28office.10%29.aspx
Beth
A: 

I tested this solution on your file, so I know that it works. I downloaded XLS Converter and ran a batch file with the following code:

xlsconverter.exe c:\excel2.xls csv c:\

This generated a CSV version of the file. At that point I was able to import the CSV file with a standard data flow. It does not appear that you have to install Microsoft Office to get this tool to work. I tried another competing product called Convert XLS, but it appears it can only convert versions prior to Excel 97 if you have Office 2003 installed on the machine.

Registered User
I want to believe that it worked for you. However I am not able to get XLS Converter to work on 3 different machines so far... each one had a different error. What am I missing?
Saul Dolgin
Can you tell me the errors? I have Windows 7 64-bit and Office 2010 installed on the machine I used for testing. It initially gave me an error indicating this type of file is blocked from being opened by my machine. I opened Excel 2010 and edited the Trust Center Settings to not restrict opening Excel 2 files and this resolved my problem. I'll try testing the process on a Windows Server 2003 32-bit machine that doesn't have Office installed to see if it works there.
Registered User
I finished testing this on a Windows Server 2003 32-bit box. Here are the steps I followed: 1. Downloaded xls-converter.exe from download.com. 2. Ran the xls-converter.exe file to install it on the server. 3. Opened the start menu -> run -> cmd to open a command window. 4. Changed the directory to the installation directory for the application -> C:\Program Files\XLS Converter. 5. Downloaded the Excel 2 sample file from your post and placed it at the root directory of the C drive, C:\excel2.xls. 6. Ran the command I placed in the post. The process outputted file C:\excel2_excel2.csv.
Registered User