我正在尝试通过 SSIS 将 Excel 工作表导入 SQL Server
该文件是由 SQL Server 导入任务从另一台计算机生成的。
但是当我尝试在我的机器/服务器上运行它时 SSIS
我收到此错误
TITLE: Package Validation Error
Package Validation Error
ADDITIONAL INFORMATION:
Error at Data Flow Task 1 [Source - 'detail_report (4)$' [53]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SourceConnectionExcel" failed with error code 0xC0209302. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Error at Data Flow Task 1 [SSIS.Pipeline]: Source - 'detail_report (4)$' failed validation and returned error code 0xC020801C.
Error at Data Flow Task 1 [SSIS.Pipeline]: One or more component failed validation.
Error at Data Flow Task 1: There were errors during task validation.
Error at MobUp02 [Connection manager "SourceConnectionExcel"]: The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 32-bit driver is not installed, run the package in 64-bit mode. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
Error at MobUp02 [Connection manager "SourceConnectionExcel"]: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=219816
(Microsoft.DataTransformationServices.VsIntegration)
我用谷歌搜索并将 Run64bitRuntime 更改为 False,但问题仍然存在
有人知道如何解决这个问题吗?
最佳答案
The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered.
我认为您应该下载 Access Database Engine 2010 32 位:
其他信息
关于sql-server - 在SSIS中导入Excel时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48514207/