Every time I start an Sql Server job, I get the following error. I am using SQL Server 2016. Does not anybody know how to fix it?
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {2DC39BD2-9CFF-405D-A2FE-D246C976278C} and APPID {DB336D8E-32E5-42B9-B14B-58AAA87CEB06} to the user NT SERVICE\SQLSERVERAGENT SID (S-1-5-80-344959196-2060754871-2302487193-2804545603-1466107430) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
Microsoft have published an article on just this issue. 2014 and 2012 instructions are on the same page.
See https://msdn.microsoft.com/en-us/library/hh213130.aspx.
In previous versions of SQL Server, by default when you installed SQL Server all users in the Users group had access to the Integration Services service. When you install the current release of SQL Server, users do not have access to the Integration Services service. The service is secure by default. After SQL Server is installed, the administrator must grant access to the service.
To grant access to the Integration Services service:
- Run Dcomcnfg.exe. Dcomcnfg.exe provides a user interface for modifying certain settings in the registry.
- In the Component Services dialog, expand the Component Services > Computers > My Computer > DCOM Config node.
- Right-click Microsoft SQL Server Integration Services 13.0, and then click Properties.
- On the Security tab, click Edit in the Launch and Activation Permissions area.
- Add users and assign appropriate permissions, and then click OK.
- Repeat steps 4 to 5 for Access Permissions.
- Restart SQL Server Management Studio.
- Restart the Integration Services Service.