我刚刚将我的ssis包从我的桌面移动到了我的服务器。该包将数据从sqlserver导出到Excel表单中。当我尝试运行包时,我看到以下错误。该错误发生在数据流任务的Excel目标中。将ssis包中的数据导出到excel目标时出错
Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. Error code: 0x00000000.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
Error at Data Flow Task [Excel Destination [16]]: SSIS Error Code
[Excel Destination [16]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC020 9302. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
我也进行了以下更改,因为之前有错误,包甚至无法运行。
将数据流任务中的延迟验证设置为false。 将项目属性下的Run64bitruntime设置为true
任何人都可以告诉我我需要做什么吗?
PS:我在服务器上运行软件包,MS excel没有安装在它上面。这可能会导致错误?
DelayValidation应该在数据流和连接管理器上均为**。另外,确保你在32位模式下运行这个 – billinkc