After installing a new TFS2010 single server instance I had the following error in my event log:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
to the user VB-TFS2010\WSSSERVICE SID (S-1-5-21-1484069085-12520411-2351891930-1013) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
The problem was that SharePoint Administration Service was running under Local System Account. I realized I forgot to set the appropriate service account.
How to find out that the problem was coming from SharePoint?