Event Log:
Event Type: ErrorEvent Source: DCOMEvent Category: NoneEvent ID: 10016User: NT AUTHORITY\NETWORK SERVICEDescription:The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {3D42CCB1-4665-4620-92A3-478F47389230} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.
Event Type: ErrorEvent Source: Office SharePoint ServerEvent Category: Office Server General Event ID: 7888User: N/ADescription:A runtime exception was detected. Details follow. Message: Retrieving the COM class factory for component with CLSID {3D42CCB1-4665-4620-92A3-478F47389230} failed due to the following error: 80070005.
Techinal Details:System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {3D42CCB1-4665-4620-92A3-478F47389230} failed due to the following error: 80070005. at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn) at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(WellKnownSearchCatalogs catalog, SearchSharedApplication application) at Microsoft.Office.Server.Search.Administration.SearchSharedApplication.get_SearchApi() at Microsoft.Office.Server.UserProfiles.SRPSite.IsImportInProgress(String contentSourceName)
Generic solution:
1. Open regedit2. Search for the GUID; should be in HKEY_CLASSES_ROOT\CSLID3. Note the key name, and the AppID4. Admin Tools, Component Services, Computers, My Computer, DCOM Config5. Locate the AppID, set appropriate permissions, for the referenced account.
If you are getting this exact error message:
You should have Sharepoint installed, with the Search Engine on this machine.
HKEY_CLASSES_ROOT\CLSID\{3D42CCB1-4665-4620-92A3-478F47389230} in the registry is called "Osearch" with Application ID {58F1D482-A132-4297-9B8A-F8E4E600CDF6}.
1. Admin Tools, Component Services, Computers, My Computer, DCOM Config2. Find OSearch in the list, right click, Properties, and on the Security tab, grant the Network Service account launch/activation permission. "Microsoft Office SharePoint Server Search" should be able to launch now.
You will also likely get the message for GUID {61738644-F196-11D0-9953-00C04FD919C1}, which corresponds to the IIS WAMREG admin Service. Grant the referenced account the requested access as well here, obviously.