The Application-specific Permission Settings Do Not Grant Local Activation Permission For The Com Server Application With Clsid

14.09.2019
56 Comments

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?

Feb 10, 2009 - The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID. Aug 03, 2016  The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 8D8F4F83-3594-4F07-83.

The Application-specific Permission Settings Do Not Grant Local Activation Permission For The Com Server Application With Clsid

Nov 22, 2017.permission-settings-do-not-grant-local-activation-permission/ I have. Activation permission for the COM Server application with CLSID.

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 SERVICESQLSERVERAGENT 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.

jmf
jmfjmf

3 Answers

For

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.

Event

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:

  1. Run Dcomcnfg.exe. Dcomcnfg.exe provides a user interface for modifying certain settings in the registry.
  2. In the Component Services dialog, expand the Component Services > Computers > My Computer > DCOM Config node.
  3. Right-click Microsoft SQL Server Integration Services 13.0, and then click Properties.
  4. On the Security tab, click Edit in the Launch and Activation Permissions area.
  5. Add users and assign appropriate permissions, and then click OK.
  6. Repeat steps 4 to 5 for Access Permissions.
  7. Restart SQL Server Management Studio.
  8. Restart the Integration Services Service.
Matty BrownMatty Brown

Error:

Appid {15c20b67-12e7-4bb6-92bb-7aff07997402}

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 SERVICESQLSERVERAGENT 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.

Please perform the following steps on the server on which the issue is happening.It should be resolved if you perform the following steps.If any concern, please let me know.

15c20b67-12e7-4bb6-92bb-7aff07997402

Steps:

Cdp Activity Store

  1. Open Regedit.
  2. Go to HKEY_Classes_RootCLSID*CLSID*. Note: CLSID stand for the ID that appears in your event viewer error. In your case, it's {2DC39BD2-9CFF-405D-A2FE-D246C976278C}.
  3. Right click on it then select permission.
  4. Click Advance and change the owner to administrator. Also click the box that will appear below the owner line.
  5. Apply full control.
  6. Close the tab then go to HKEY_LocalMachineSoftwareClassesAppID*APPID*. Note: AppID is the ID that appears in your event viewer. In your case it's {DB336D8E-32E5-42B9-B14B-58AAA87CEB06}.
  7. Right click on it then select permission.
  8. Click Advance and change the owner to administrators.
  9. Click the box that will appear below the owner line.
  10. Click Apply and grant full control to Administrators.
  11. Close all tabs and go to Administrative tool.
  12. Open component services.
  13. Click Computer, click my computer, then click DCOM.
  14. Look for the corresponding service that appears on the error viewer.
  15. Right click on it then click properties.
  16. Click security tab then click Add User. Add SYSTEM then apply.
  17. Tick the Activate local box.
Kundan DasangeKundan Dasange

Well I'm not an expert on component services security, but I am someone who has seen similar errors a few times and fixed them according to advice I found on the web. This assumes you are a member of the machine's Administrators group. The idea is to make Administrators the owner of the class and the app, which empowers you in Component Services to grant the needed launch and activate permissions on the components.

  • Run RegEdit as administrator
  • Go to HKEY_CLASSES_ROOTCLSID
  • Find the CLSID noted in your error message, click on it and see what class it is. Right click for properties and see who owns it. (In my case it was a Windows 10 freeze issue, and the CLSID was for Runtime Broker, and it was owned by TrustedInstaller. Following advice I found on the web I clicked Advanced, and changed the owner to Administrators. Then I gave Administrators 'Full Control' while ensuring TrustedInstaller also still had full control.
  • Next, go to HKEY_Local_MachineSoftwareClassesAppID and click the AppID from your error message. Note it's name. Make the ownership/permissions changes there as well.
  • Next run Component Cervices as administrator and drill down to Console RootComponent ServicesComputersMy ComputerDCOM Config.
  • For each of the components whose names you found in the Registry
    • right click and choose Properties
    • Click the 'Security' tab
    • Under 'Launch and Activation Permissions', click 'customize', and 'Edit'
    • Add 'LOCAL SERVICE' as a user
    • Grant 'local launch' and 'local activation' permissions to LOCAL SERVICE

Good Luck!

user6447622user6447622

Not the answer you're looking for? Browse other questions tagged sql-server-agentsql-server-2016 or ask your own question.