使用SSIS从Excel加载数据时发生意外终止 [英] Unexpected Termination when loading data from excel using ssis

查看:310
本文介绍了使用SSIS从Excel加载数据时发生意外终止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有SSIS软件包,可以使用microsoft.ace.oledb简单地从excel加载数据。

I have SSIS package which simply loads data from excel using microsoft.ace.oledb. 12.0 driver to a sql server table.

excel文件大小为4.5mb

The excel file size is 4.5mb

在本地运行良好。

当我在开发环境中部署并使用Sql Server Agent运行时,该作业失败,并且状态为意外终止(在验证后和有关信息的情况下)。我无法进行故障排除,因为没有错误消息。

When I delploy and run using Sql Server Agent in development enviroment, the job is failing with status 'Unexpected Termination'(after post validation and on information). I am not able to troubleshoot as there is no error message.

请注意,开发环境是我本地的确切映像副本。
请帮助。
请注意,这仅适用于大型excel文件。

Please note development enviroment is exact image copy of my local. Kindly help. Note this is only occuring for large excel files.

推荐答案

请确保Microsoft Access Database Engine 2010可重新分发 https://www.microsoft.com/en-gb/download/details在Microsoft.ace.oledb上运行SSIS包的服务器上安装了.aspx?id = 13255 。 12.0可用。确保根据运行程序包的方式选择正确的64位和32位版本。可能是x64,但除非您将其明确设置为x32。

Make sure Microsoft Access Database Engine 2010 Redistributable https://www.microsoft.com/en-gb/download/details.aspx?id=13255 is installed on the server the SSIS package is running on so microsoft.ace.oledb. 12.0 is available. Be sure you choose the right version 64 vs 32 bit depending on how you run the package. Its probably x64 but unless you've explicitly set it to be x32.

这篇关于使用SSIS从Excel加载数据时发生意外终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆