error: “The application-specific permission settings do not grant Local Activation “

this is a common DCOM error that often seen in sharepoint deployments. the error details form the application event log:

 

Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10016
Date: 10/02/2009
Time: 10:51:42 AM
User: KIOSKPOC\svc_SP
Computer: HTS0367
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{61738644-F196-11D0-9953-00C04FD919C1}
to the user KIOSKPOC\svc_SP SID (S-1-5-21-4047873115-1278379611-1960023932-1132). This security permission can be modified using the Component Services administrative tool.

For more information, see Help and Support Center at https://go.microsoft.com/fwlink/events.asp.

 

to fix the error, you need to grant the local activation permission to the component that is referred to in the error log. in the case of the error above, the component is IIS WAMREG admin service.

here are the instructions to grant the required permission to the component:

1. Open Component Services management consol. to do so on a Windows 2008 server - run the commend: comexp.msc from the Run window (or a command prompt). or just go to Administrative tools, and select to run Component Services.
2. Select the IIS WAMREG admin Service component. (you will find it under: Component Services \ Computer \ My Computer\ DCOM Config) image
3. Right click the component, select properties and switch to the Security tab. image
4. Click Edit in the section named: Launch and Activation Permissions. image
5. Add your service account and grant it local launch and local activation permissions. image
6. OK your settings, and reset IIS  

 

cheers,
- mutaz