Office Sharepoint Server 2007 troubles with Event 10016; and a solution

There seems to be a recurring issue with MOSS deployments where DCOM security is not properly configured. You’ve maybe seen this one:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
to the user <domain>\<user> SID (S-1-5…) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

You’ll find a workaround here: http://www.itexperience.net/2008/03/29/event-10016-the-application-specific-permission-settings-do-not-grant-local-launch-permission-for-the-com-server-application/, but if you’re running Windows Server 2008 R2 then you’ll also need this one: http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx.