【问题标题】:dtexec error "To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher."dtexec 错误“要在 SQL Server Data Tools 之外运行 SSIS 包,您必须安装标准版的 Integration Services 或更高版本。”
【发布时间】:2021-01-28 02:41:44
【问题描述】:

我和 ssis lol 相处得很艰难。我有 Visual Studio 2019 社区,并在此 article 之后安装了 ssis 和数据工具。但是当我尝试使用 dtexec 运行包时,我收到错误,要在 SQL Server Data Tools 之外运行 SSIS 包,您必须安装标准版的集成服务或更高版本。但我认为我确实安装了 ssis?我也很困惑我应该在 110,120 和 130 文件夹中使用哪个 dtexec?

: "C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\dtexec.exe" /f Package.dtsx
Microsoft (R) SQL Server Execute Package Utility
Version 13.0.4561.14 for 32-bit
Copyright (C) 2016 Microsoft. All rights reserved.

Started:  6:31:15 PM
Error: 2021-01-27 18:31:15.76
   Code: 0xC000F427
   Source: Expression Task
   Description: To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher.
End Error
Warning: 2021-01-27 18:31:15.76
   Code: 0x80019002
   Source: Package
   Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (2) 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.
End Warning
DTExec: The package execution returned DTSER_FAILURE (1).
Started:  6:31:15 PM
Finished: 6:31:15 PM
Elapsed:  0.14 seconds

【问题讨论】:

    标签: visual-studio ssis


    【解决方案1】:

    错误消息是正确的,说明您需要 SSIS 服务器来运行 dtsx 包。
    您引用的文章描述了如何为 SSIS 安装开发环境;此开发环境允许在 Visual Studio 中创建和编辑包并运行包,仅用于调试目的。 Visual Studio 以外的包执行必须在 SSIS 服务器环境下完成。
    结论 - 要在“生产环境”中运行包,即在 Visual Studio 中无需手动操作,您必须安装某些版本的 SSIS Server 或在现有 SSIS 服务器上执行包。

    “110,120 和 130 个文件夹”中不同版本的 DTExec 指的是不同版本的 SSIS。在 Visual Studio 中,您可以为不同版本的 SSIS 开发包。当您在 SSIS 项目属性中指定 SSIS 版本时,包调试中的 VS 会运行相应版本的 DTExec。 130 对应于 SQL Server 2016,请参阅SO answer on this 了解更多信息。

    【讨论】:

      猜你喜欢
      • 2023-03-11
      • 1970-01-01
      • 2020-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-09
      • 1970-01-01
      相关资源
      最近更新 更多