SSIS 错误代码:0xC0014009 [英] SSIS Error code: 0xC0014009

查看:109
本文介绍了SSIS 错误代码:0xC0014009的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决 SQL Server 代理运行作业 SSIS 失败的问题,错误代码为:0xC0014009.

How to solve problem run job SSIS by SQL Server Agent failed with error code : 0xC0014009.

我的工作 ssis 包将数据从源数据库 interbase 转换到目标 sql server 以使用 ODBC.我发现工作失败

My job ssis package transform data from source database interbase to target sql server for use ODBC. I found job failed

错误:对连接管理器的 AcquireConnection 方法调用INTERBASE 失败,错误代码为 0XC0014009.可能有错误在此之前发布的消息包含更多关于为什么AcquireConnection 方法调用失败.

Error: The AcquireConnection method call to the connection manager INTERBASE failed with error code 0XC0014009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.

几乎每天都有,但有时会成功.

almost everyday but sometime job success.

调试时我修复了调试选项 Run64BitRuntime =>false 和作业步骤属性 我已经选择了 32 位运行时,但我的作业错误代码经常是 0XC0014009.

When debugging I fix debug options Run64BitRuntime => false and job step properties I choose 32 bit runtime already but my job error code 0XC0014009 often.

在 Windows 2012 R2、SQL Server 2016 上

On Windows 2012 R2, SQL server 2016

我设置了设置,DelayedValidation:True 和所有 32 位

I set settings, DelayedValidation: True and all 32bit

推荐答案

当我的 SSIS 包在部署到 SQL Server 2017 后失败时,我遇到了同样的错误代码 (0xC0014009).我把头撞在墙上,没有任何效果,尝试延迟验证,在 32 位运行时执行,没有成功.

I was experiencing this same error code (0xC0014009) when my SSIS packages were failing after deployed to SQL Server 2017. Was bashing my head against the wall, nothing worked, tried delayed validation, execute in 32-bit runtime, no success.

背景:我的 SSIS 包非常简单.将数据从 postgres RDS 实例(使用 ODBC 连接器)复制到 SQL Server DB.我无法直接从本地计算机的 VS 部署 SSIS,因为 Windows 身份验证不起作用(不在同一网络上)并且不允许使用 SQL Server 身份验证进行部署.我的部署工作是将 ispac 文件复制到 VM 主机,然后使用 SSMS(在服务器上)直接从 ispac 进行部署.部署得很好,没问题吧?错误的.部署的包失败,错误代码为 0xC0014009,连接管理器问题.我认为我在使用 postgres ODBC 连接器的过程中丢失了一些东西.

Background: My SSIS packages were very simple. Copying data from a postgres RDS instance (using ODBC connector) to the SQL Server DB. I couldn’t deploy the SSIS directly from my local machine’s VS because Windows Authentication doesn’t work (not on same network) and deployment is not allowed using SQL Server Authentication. My deployment work around was copying the ispac file to the VM host, and then using SSMS (on the server) to deploy directly from the ispac. Deployed fine, no problem right? Wrong. Deployed packages were failing with the 0xC0014009 error code, connection manager problem. I think something was being lost in my process regarding the postgres ODBC connector.

我对此的解决方案如下

  • 在虚拟机上下载了 postgres 驱动程序,创建了一个 ODBC 连接器.一切测试正常,连接到 RDS 实例
  • 在 VM 主机上安装了 Visual Studio,带有 SSIS 扩展
  • 将 SSIS 解决方案从我的本地复制到 VM 主机
  • 在虚拟机上的 VS 中加载了 SSIS 解决方案.在解决方案的连接管理器中,将连接切换到新创建的 ODBC 连接器,在 Visual Studio 中作为测试运行.一切正常!
  • 从 VM 主机的 Visual Studio 部署 SSIS 项目,这次 Windows 身份验证工作明显
  • 现在包可以工作了,直接从 SQL Server 执行,不再出现 0xC0014009 错误

这篇关于SSIS 错误代码:0xC0014009的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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