SSIS已部署程序包错误

时间:2016-10-12 02:10:39

标签: mysql sql sql-server ssis

希望有人能帮助我。

我在Visual Studio中创建了一个非常简单的SSIS包,它从MSSQL表中复制数据,转换数据,并将数据插入到MySQL 5.5数据库表中。当我在Visual Studio中运行包时,它可以完美地工作。

但是,当我构建软件包然后将其部署到MSSQL 2014 Integration Services并尝试执行软件包时,它会失败。

以下是MSSQL在失败时创建的报告:

  

此报告显示执行或验证的消息。

    Execution Information


    Operation ID    88 (Validation)

名称PurchaseAnalysisReport \ PurchasingAnalysis \ Package.dtsx 环境 - 状态失败         持续时间(秒)7.875 开始时间12/10/2016 12:59:30 PM 结束时间12/10/2016 12:59:38 PM 来电者**********************

    Error Messages


        Message Type    Action  Message Time    Message Message Source Name Subcomponent Name   Execution Path  Environment
OnError View Context    12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: One or more component failed validation.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: There were errors during task validation.
EXO TO DATA_WH INWARDS_GOODS        \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Destination, clsid {51B271F1-3B7E-4875-870E-62A0456FE2AD} is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Source, clsid {F8600F4A-E321-42F4-AA59-DA00FA374EA5} is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "ODBC Destination;Connector for Open Database Connectivity (ODBC) by Attunity; Attunity Ltd.; All Rights Reserved; http://www.attunity.com;6".
EXO TO DATA_WH INWARDS_GOODS    ODBC Destination [8]    \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: ODBC Destination failed validation and returned error code 0xC0048021.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOC_INFO:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOC_INFO   EXO TO DATA_WH STOCK_LOC_INFO (SSIS.Pipeline)   \Package\EXO TO DATA_WH STOCK_LOC_INFO  -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOC_INFO:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOC_INFO   EXO TO DATA_WH STOCK_LOC_INFO (SSIS.Pipeline)   \Package\EXO TO DATA_WH STOCK_LOC_INFO  -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOCATIONS:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOCATIONS  EXO TO DATA_WH STOCK_LOCATIONS (SSIS.Pipeline)  \Package\EXO TO DATA_WH STOCK_LOCATIONS -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOCATIONS:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOCATIONS  EXO TO DATA_WH STOCK_LOCATIONS (SSIS.Pipeline)  \Package\EXO TO DATA_WH STOCK_LOCATIONS -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_LINES:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_LINES   EXO TO DATA_WH PURCHORD_LINES (SSIS.Pipeline)   \Package\EXO TO DATA_WH PURCHORD_LINES  -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_LINES:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_LINES   EXO TO DATA_WH PURCHORD_LINES (SSIS.Pipeline)   \Package\EXO TO DATA_WH PURCHORD_LINES  -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_HDR:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_HDR EXO TO DATA_WH PURCHORD_HDR (SSIS.Pipeline) \Package\EXO TO DATA_WH PURCHORD_HDR    -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_HDR:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_HDR EXO TO DATA_WH PURCHORD_HDR (SSIS.Pipeline) \Package\EXO TO DATA_WH PURCHORD_HDR    -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_LINES:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_LINES  EXO TO DATA_WH INWARDS_GOODS_LINES (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_LINES -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_LINES:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_LINES  EXO TO DATA_WH INWARDS_GOODS_LINES (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_LINES -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_COSTS:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_COSTS  EXO TO DATA_WH INWARDS_GOODS_COSTS (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_COSTS -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_COSTS:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_COSTS  EXO TO DATA_WH INWARDS_GOODS_COSTS (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_COSTS -
OnError View Context    12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    EXO TO DATA_WH INWARDS_GOODS (SSIS.Pipeline)    \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError View Context    12/10/2016 12:59:35 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    EXO TO DATA_WH INWARDS_GOODS (SSIS.Pipeline)    \Package\EXO TO DATA_WH INWARDS_GOODS   -


    All Messages


            Filter:

Message Type: All;  (5 more)





        Message Type    Message Time    Message Message Source Name Subcomponent Name   Execution Path  Environment
OnInformation   12/10/2016 12:59:38 PM  The validate operation has completed.   Transact-SQL stored procedure           -
OnError 12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: One or more component failed validation.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError 12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: There were errors during task validation.
EXO TO DATA_WH INWARDS_GOODS        \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnPostValidate  12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Validation is complete.    EXO TO DATA_WH INWARDS_GOODS        \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnPostValidate  12/10/2016 12:59:37 PM  Package:Validation is complete. Package     \Package    -
OnError 12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Destination, clsid {51B271F1-3B7E-4875-870E-62A0456FE2AD} is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError 12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Source, clsid {F8600F4A-E321-42F4-AA59-DA00FA374EA5} is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnInformation   12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Information: Validation phase is beginning.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError 12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "ODBC Destination;Connector for Open Database Connectivity (ODBC) by Attunity; Attunity Ltd.; All Rights Reserved; http://www.attunity.com;6".
EXO TO DATA_WH INWARDS_GOODS    ODBC Destination [8]    \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError 12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Error: ODBC Destination failed validation and returned error code 0xC0048021.
EXO TO DATA_WH INWARDS_GOODS    SSIS.Pipeline   \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE DATA_WH INWARDS_GOODS:Validation is complete.    DELETE DATA_WH INWARDS_GOODS        \Package\DELETE DATA_WH INWARDS_GOODS   -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE DATA_WH STOCK_LOC_INFO:Validation has started.   DELETE DATA_WH STOCK_LOC_INFO       \Package\DELETE DATA_WH STOCK_LOC_INFO  -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE DATA_WH STOCK_LOC_INFO:Validation is complete.   DELETE DATA_WH STOCK_LOC_INFO       \Package\DELETE DATA_WH STOCK_LOC_INFO  -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE DATA_WH STOCK_LOCATIONS:Validation has started.  DELETE DATA_WH STOCK_LOCATIONS      \Package\DELETE DATA_WH STOCK_LOCATIONS -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE DATA_WH STOCK_LOCATIONS:Validation is complete.  DELETE DATA_WH STOCK_LOCATIONS      \Package\DELETE DATA_WH STOCK_LOCATIONS -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE FROM DATA_WH INWARDS_GOODS_COSTS:Validation has started. DELETE FROM DATA_WH INWARDS_GOODS_COSTS     \Package\DELETE FROM DATA_WH INWARDS_GOODS_COSTS    -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE FROM DATA_WH INWARDS_GOODS_COSTS:Validation is complete. DELETE FROM DATA_WH INWARDS_GOODS_COSTS     \Package\DELETE FROM DATA_WH INWARDS_GOODS_COSTS    -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE FROM DATA_WH INWARDS_GOODS_LINES:Validation has started. DELETE FROM DATA_WH INWARDS_GOODS_LINES     \Package\DELETE FROM DATA_WH INWARDS_GOODS_LINES    -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE FROM DATA_WH INWARDS_GOODS_LINES:Validation is complete. DELETE FROM DATA_WH INWARDS_GOODS_LINES     \Package\DELETE FROM DATA_WH INWARDS_GOODS_LINES    -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE FROM DATA_WH PURCHORD_HDR:Validation has started.    DELETE FROM DATA_WH PURCHORD_HDR        \Package\DELETE FROM DATA_WH PURCHORD_HDR   -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE FROM DATA_WH PURCHORD_HDR:Validation is complete.    DELETE FROM DATA_WH PURCHORD_HDR        \Package\DELETE FROM DATA_WH PURCHORD_HDR   -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE FROM DATA_WH PURCHORD_LINES:Validation has started.  DELETE FROM DATA_WH PURCHORD_LINES      \Package\DELETE FROM DATA_WH PURCHORD_LINES -
OnPostValidate  12/10/2016 12:59:37 PM  DELETE FROM DATA_WH PURCHORD_LINES:Validation is complete.  DELETE FROM DATA_WH PURCHORD_LINES      \Package\DELETE FROM DATA_WH PURCHORD_LINES -
OnPreValidate   12/10/2016 12:59:37 PM  EXO TO DATA_WH INWARDS_GOODS:Validation has started.    EXO TO DATA_WH INWARDS_GOODS        \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnPreValidate   12/10/2016 12:59:37 PM  Package:Validation has started. Package     \Package    -
OnPreValidate   12/10/2016 12:59:37 PM  DELETE DATA_WH INWARDS_GOODS:Validation has started.    DELETE DATA_WH INWARDS_GOODS        \Package\DELETE DATA_WH INWARDS_GOODS   -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOC_INFO:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOC_INFO   EXO TO DATA_WH STOCK_LOC_INFO (SSIS.Pipeline)   \Package\EXO TO DATA_WH STOCK_LOC_INFO  -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOC_INFO:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOC_INFO   EXO TO DATA_WH STOCK_LOC_INFO (SSIS.Pipeline)   \Package\EXO TO DATA_WH STOCK_LOC_INFO  -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOCATIONS:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOCATIONS  EXO TO DATA_WH STOCK_LOCATIONS (SSIS.Pipeline)  \Package\EXO TO DATA_WH STOCK_LOCATIONS -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH STOCK_LOCATIONS:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH STOCK_LOCATIONS  EXO TO DATA_WH STOCK_LOCATIONS (SSIS.Pipeline)  \Package\EXO TO DATA_WH STOCK_LOCATIONS -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_LINES:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_LINES   EXO TO DATA_WH PURCHORD_LINES (SSIS.Pipeline)   \Package\EXO TO DATA_WH PURCHORD_LINES  -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_LINES:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_LINES   EXO TO DATA_WH PURCHORD_LINES (SSIS.Pipeline)   \Package\EXO TO DATA_WH PURCHORD_LINES  -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_HDR:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_HDR EXO TO DATA_WH PURCHORD_HDR (SSIS.Pipeline) \Package\EXO TO DATA_WH PURCHORD_HDR    -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH PURCHORD_HDR:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH PURCHORD_HDR EXO TO DATA_WH PURCHORD_HDR (SSIS.Pipeline) \Package\EXO TO DATA_WH PURCHORD_HDR    -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_LINES:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_LINES  EXO TO DATA_WH INWARDS_GOODS_LINES (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_LINES -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_LINES:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_LINES  EXO TO DATA_WH INWARDS_GOODS_LINES (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_LINES -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_COSTS:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_COSTS  EXO TO DATA_WH INWARDS_GOODS_COSTS (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_COSTS -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS_COSTS:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS_COSTS  EXO TO DATA_WH INWARDS_GOODS_COSTS (SSIS.Pipeline)  \Package\EXO TO DATA_WH INWARDS_GOODS_COSTS -
OnError 12/10/2016 12:59:36 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Source is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    EXO TO DATA_WH INWARDS_GOODS (SSIS.Pipeline)    \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnError 12/10/2016 12:59:35 PM  EXO TO DATA_WH INWARDS_GOODS:Error: The version of ODBC Destination is not compatible with this version of the DataFlow.
EXO TO DATA_WH INWARDS_GOODS    EXO TO DATA_WH INWARDS_GOODS (SSIS.Pipeline)    \Package\EXO TO DATA_WH INWARDS_GOODS   -
OnInformation   12/10/2016 12:59:34 PM  The validate operation has started. Transact-SQL stored procedure           -

我希望有人可以帮助我解决出错的问题。

我确保将32位和64位驱动程序安装到ODBC管理器。我还尝试在SSMS中使用32位运行时验证包。没有任何运气。

任何人都知道我做错了什么?

MSSQL v12.0.4459.0,在Win Server 2012上运行

MySQL v5.5.52-0,在Ubuntu 14.04 LTS上运行

提前致谢!

2 个答案:

答案 0 :(得分:1)

查看日志,您正在使用某些自定义组件(Attunity),您的服务器上没有这个组件。

错误" ODBC目标; Attunity的开放式数据库连接(ODBC)连接器; Attunity Ltd"

答案 1 :(得分:0)

在网上找到有兴趣的人。

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/30010ea5-e9e5-43f0-920e-dc981f20dcff/ssdt-2015-140603060-gives-odbc-component-missing-for-attunity-when-deployed-to-mssql-2014?forum=ssdt

我的问题与我的项目在部署时的编译方式有关。您需要选择要部署的SQL Server版本,以便输出的包兼容。