The ssis package is part of a project deployed to a server with SQL Server 2012 SSISDB. The project is using environments. The project is set to Run64BitRuntime = False. This particular package is attempting to use a Data Flow to use an Excel Source (Microsoft Excel 97-2003 Worksheet) and load that to a SQL Server db table OLE DB Destination.
The package runs fine locally in Windows 7 MS Visual Studio Ultimate 2012 v 11.0.61030.00 Update 4. But if I run the package by command line on the server, the package fails and returns the following error:
MyPackage:Error: The requested OLE Provider Microsoft.Jet.OLEDB.4.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000. An OLE DB record is available. Source "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered"
the SSISDB log returns the following message:
SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SQLImport Step_XLS" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
All other packages within this project run and end successfully, but this is the only one that uses an excel spreadsheet as input. If anyone have experienced this before or has any ideas on what to do next, I would appreciate it. Thanks!