snippetModerate
How do I grant the privilege of connecting to SSIS?
Viewed 0 times
theprivilegeconnectingssisgranthow
Problem
Attempting to run SSIS packages using dtexec.exe, I got this error message:
Typically for Microsoft, there's no clarification about which help topic has this information. Certainly the
Running dtexec from a command prompt launched with admin privileges, or from an application with admin privileges, did not resolve the problem.
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.Typically for Microsoft, there's no clarification about which help topic has this information. Certainly the
dtexec /? help does not.Running dtexec from a command prompt launched with admin privileges, or from an application with admin privileges, did not resolve the problem.
Solution
I eventually found the solution on MSDN. To grant users rights to the Integration Services service:
You should now be able to connect to Integration Services from within SQL Studio or dtexec.exe.
- Open Component Services; from a Run dialog, you can enter "dcomcnfg".
- On the left-hand tree, navigate to Component Services | Computers | My Computer | DCOM Config.
- Find "Microsoft SQL Server Integration Services 12.0". This is for 2014; I believe earlier versions leave out "Microsoft," so check under "S" if you don't see it under "M".
- Open Properties | Security and for each type of permission hit Edit and add an appropriate AD group or user. Be sure to check the specific permissions required, such as Remote Launch when editing Launch and Activation Permission. If anyone knows exactly which permissions are necessary for running SSIS, please share.
- Launch Services, and restart the SQL Server Integration Services service.
You should now be able to connect to Integration Services from within SQL Studio or dtexec.exe.
Context
StackExchange Database Administrators Q#77320, answer score: 19
Revisions (0)
No revisions yet.