安装 SQL Server 2017 后未安装执行包实用程序 (dtexecui)

CDD*_*way 6 sql dtexec sql-server-2017

安装 SQL Server 2017 后,我找不到 Execute Package Utility (dtexecui)。也找不到来自 Microsoft 的任何独立安装程序来安装它。有人会指导我安装它以运行我的 SSIS 包吗?

Stu*_*son 16

我刚刚发现了完全相同的问题。

我确实检查了 DTExec 的路径,发现它作为 SQL Server Management Studio 18 (18.3.1) 的一部分与 DTExecUI 一起安装在以下位置:

C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn
Run Code Online (Sandbox Code Playgroud)

当然,您的安装位置可能会有所不同。

作为参考,我根据不同版本的Sql Server Management Studio 找到了不同位置的程序

SQL Server 微软 2014

C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\
Run Code Online (Sandbox Code Playgroud)

SQL Server MS 17

C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\
Run Code Online (Sandbox Code Playgroud)

(编辑)最后一个说明,在我的实例中,dtsx 包没有任何默认应用程序,我必须添加传递参数所需的注册表项:这是我的:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\IntegrationServices.Package.140\Shell]
@="Open"

[HKEY_CLASSES_ROOT\IntegrationServices.Package.140\Shell\Open]

[HKEY_CLASSES_ROOT\IntegrationServices.Package.140\Shell\Open\command]
@="\"C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\CommonExtensions\\Microsoft\\SSIS\\150\\Binn\\DtExecUI.exe\" /F \"%L\""
Run Code Online (Sandbox Code Playgroud)

一旦到位,使用默认进程将文件与应用程序相关联,dtsx 文件在服务器上使用正确的参数打开。