Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access Excel data source from an SSIS package deployed on a 64-bit server?

Tags:

People also ask

How do I run a SSIS package in 64-bit mode?

In the Project Properties of an Integration Services package, you need to select 64-bit execution by setting the value of the Run64BitRuntime property to true on the Debugging page. By default, the value of this property is True.

How do I get data from SSIS to Excel?

On the SSIS menu, select New connection. In the Add SSIS Connection Manager dialog box, select EXCEL and then Add. Create the connection manager at the same time that you configure the Excel Source or the Excel Destination on the Connection manager page of the Excel Source Editor or of the Excel Destination Editor.

How do I transfer data from SQL Server to Excel using SSIS?

STEP 1: Drag and Drop the Data Flow Task from the toolbox to the control flow region and rename it. STEP 2: Double click on the SSIS data flow task will open the data flow region. In the data flow region, drag and drop the OLE DB Source and Excel file destination.


I have an SSIS package that exports data to a couple of Excel files for transfer to a third party. To get this to run as a scheduled job on a 64-bit server I understand that I need to set the step as a CmdExec type and call the 32-bit version of DTExec. But I don't seem to be able to get the command right to pass in the connection string for the Excel files.

So far I have this:

DTExec.exe /SQL \PackageName /SERVER OUR2005SQLSERVER /CONNECTION 
LETTER_Excel_File;\""Provider=Microsoft.Jet.OLEDB.4.0";"Data 
Source=""C:\Temp\BaseFiles\LETTER.xls";"Extended Properties=
""Excel 8.0;HDR=Yes"" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING E

This gives me the error: Option "Properties=Excel 8.0;HDR=Yes" is not valid.

I've tried a few variations with the Quotation marks but have not been able to get it right yet.

Does anyone know how to fix this?

UPDATE:

Thanks for your help but I've decided to go with CSV files for now, as they seem to just work on the 64-bit version.