如何授予连接到 SSIS 的权限?

Jon*_*des 13 permissions ssis dtexec

尝试使用 dtexec.exe 运行 SSIS 包时,我收到以下错误消息:

Could not load package "D:\Filename.dtsx" because of error 0xC00160AE.
Description: Connecting to the Integration Services service on the computer "" failed
with the following error: "Access is denied."

By default, only administrators have access to the Integration Services service.  On
Windows Vista and later, the process must be running with administrative privileges in
order to connect to the Integration Services service. See the help topic for information
on how to configure access to the service.
Run Code Online (Sandbox Code Playgroud)

通常对于 Microsoft,没有说明哪个帮助主题包含此信息。当然dtexec /?帮助没有。

从以管理员权限启动的命令提示符或从具有管理员权限的应用程序运行 dtexec 无法解决问题。

Jon*_*des 18

我最终在MSDN上找到了解决方案。授予用户对 Integration Services 服务的权限:

  1. 开放组件服务;从“运行”对话框中,您可以输入“dcomcnfg”。
  2. 在左侧树中,导航到 Component Services | 电脑 | 我的电脑 | DCOM 配置。
  3. 找到“Microsoft SQL Server 集成服务 12.0”。这是 2014 年的;我相信早期版本会遗漏“Microsoft”,因此如果您在“M”下没有看到它,请在“S”下查看。
  4. 打开属性 | 安全性和每种类型的权限点击编辑并添加适当的 AD 组或用户。请务必检查所需的特定权限,例如编辑启动和激活权限时的远程启动。如果有人确切知道运行 SSIS 需要哪些权限,请分享。
  5. 启动服务,然后重新启动 SQL Server 集成服务服务。

您现在应该能够从 SQL Studio 或 dtexec.exe 中连接到 Integration Services。

  • 这有效。我只需要让我们的服务帐户在 ACCESS PERMISSION 部分下具有 LOCAL ACCESS。 (2认同)