Wednesday, September 16, 2009

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID...

As I arrived today at work, I was confronted with some Team Foundation Server error messages in my mailbox. There are better ways to start a working day, so I opened the eventlog of our TFS server and found a repeating list of the following error message:


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 <serverName>\tfsservices SID (S-1-5-21-<serviceSID>).








No idea what caused this error (all tips are welcome).
Solve it by executing following actions:
  • Copy the GUID following the CLSID above, and let's dive in the Windows Registry. So fire up RegEdit.
  • In the menu choose Edit-->Find and paste in the GUID. It'll stop at the application entry.As you look on the right side pane, you'll note the application name . In this example, it was the IIS WAMREG admin service that popped up.
  • Now, open Component Services (typically, from the server - Start-->Administrative Tools-->Component Services), expand Component Services, Computers, My Computer, DCOM Config. Scroll down and find the application (IIS WAMREG in this case). Right-Click-->Properties and select the Security tab. You'll have some options here - the first block Launch and Activation Permissions - ensure that the Customize radio button is selected, and click Edit. Now, add your tfsservices account - giving it launch and activate - and in some requirements - remote launch / activate permission.
  • Restart IIS and continue on.

All lights are green again ...

No comments: