Connecting to Integration Services Access is Denied in SQL Server 2016 or 2017
Problem
After installing SQL Server 2017 or SQL Server 2016, a user tries to connect to SQL Server Integration Services (SSIS) for the first-time using SQL Server Management Studio (SSMS), most likely the connection attempt will fail. The received error message indicates: Failed to retrieve data for this request. 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.
For users who have worked with older versions of SQL Server, this can be surprising as connecting to SSIS with SSMS usually does not have problems. The reason for this is that in the older versions, all users of the "Users" group had access to SSIS by default. In the newer versions of SQL Server, however, access is secure by default and it must be granted to a specific user who needs to connect to that service.
Solution
In this article, we will reproduce this problem and describe how to solve it.
Let’s assume that we have SQL Server 2017 installed and never connected to SSIS before on that server. SSIS should be running, which can be checked in SQL Server Configuration Manager as follows:
![sql server configuration manager](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.001.png)
To connect to SQL Server Integration Services, we open SQL Server Management Studio and in the "Object Explorer" choose "Connect" and then "Integration Services…":
![ssms object explorer connect to ssis](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.002.png)
Now, we need to log in with our credentials:
![sql server credential screen](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.003.png)
After clicking "Connect", the following error message will appear: Failed to retrieve data for this request. 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.
![ssis connection error message](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.004.png)
The problem is that starting from SQL Server 2016, Users in the "Users" group do not have access to SSIS by default. Therefore, if we have just installed the services, but haven’t granted the special permissions to the user, it will be impossible to access SSIS by using the credentials of that user. Thus, we need to manually grant these permissions using an Administrator user.
First, we should open a "Command prompt" and type Dcomcnfg.exe:
![command prompt](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.005.png)
This opens the UI for working with "Component Services" where we can change certain settings in the registry:
![windows component services](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.006.png)
Then we locate "DCOM Config" under the "Console Root" - Component Services > Computers > My Computer > DCOM Config. Under the "DCOM Config", "Microsoft SQL Server Integration Services" can be found. Right-click on it and choose "Properties".
![windows component services](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.007.png)
Then, in the "Properties" window, we select "Security" tab:
![windows component services security settings](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.008.png)
Here we should set "Launch and Activation Permissions" and "Access Permissions" for our user.
Click "Edit" on "Launch and Activation Permissions".
Then click "Add" we find the user and grant the corresponding permissions shown below:
![windows launch and activiation permission](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.009.png)
After that, we set the corresponding permission for the user on the "Access Permissions" in the same way as shown below:
![windows access permission](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.010.png)
Having set the necessary permissions for the user, we should restart SQL Server Management Studio and Integration Services:
![sql server configuration manager](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.011.png)
When we open SSMS after restarting, try to connect to Integration Services again and the attempt should be successful:
![successful connection to ssis using ssms](https://www.mssqltips.com/tipimages2/6236_problem-connecting-to-sql-server-integration-services.012.png)