SSIS 2008 R2 - " Excel连接管理器"失败,错误代码为0xC0202009

时间:2017-10-24 06:18:34

标签: sql-server excel security ssis ssis-2008

在服务器上应用Microsoft的10月补丁后,我们面临以下错误。

我们将Run64BitRunTime设置为false,将DelayValidation设置为True并更改了excel文件夹的路径。仍然面临下面的问题。

Error: 0xC0202009 at SSIS_Document_Report, Connection manager "Excel Connection Manager": SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft JET Database Engine"  Hresult: 0x80004005  Description: "Unexpected error from external database driver (1).".
Error: 0xC020801C at SSIS_Get_Document_Report, Excel Destination [436]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Error: 0xC0047017 at SSIS_Get_Document_Report, SSIS.Pipeline: component "Excel Destination" (436) failed validation and returned error code 0xC020801C.
Error: 0xC004700C at SSIS_Get_Document_Report, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at SSIS_Get_Document_Report: There were errors during task validation.
Warning: 0x80019002 at SSIS_Document_Report: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package "SSIS_Document_Report.dtsx" finished: Failure.

下面的解决方法链接解决了本地计算机中的此问题。但在UAT服务器中,它没有按预期工作。原因可能是链接中突出显示的信息。有关如何实施此大胆的任何建议都突出显示? https://www.microsoft.com/en-us/download/details.aspx?id=13255

在支持的文件格式和数据库存储库(如SQL Server)之间传输数据。例如,使用SQL Server导入和导出向导或SQL Server Integration Services将数据从Excel工作簿传输到SQL Server(提供SSIS作业在具有有效HKEY_CURRENT_USER注册表配置单元的登录用户的上下文中运行)。

2 个答案:

答案 0 :(得分:1)

原因是微软本月发布的安全补丁很少。准确地说,它们是KB4041693& KB4041687。

当我删除这些补丁时,它开始为我工作。但这不是推荐的解决方案。

请参阅以下主题中讨论的其他解决方案

"Unexpected error from external database driver (1). (Microsoft JET Database Engine)” after applying October security updates

ODBC Excel Driver Stopped Working with "Unexpected error from external database driver (1). (Microsoft JET Database Engine)"

答案 1 :(得分:1)

我们正在实施的解决方案是打开SSIS包并将连接管理器生成的excel文件的版本更改为除97-03之外的任何内容。您必须下载并安装适用于07-2010的Microsoft.ACE.OLEDB.12.0连接器和适用于更新版本的Microsoft.ACE.OLEDB.16.0。

相关问题