Error 800703fa Illegal operation attempted on a registry key that has been marked for deletion

Error 800703fa Illegal operation attempted on a registry key that has been marked for deletion



Symptom

Collaboration Manager failed to create a workspace with "Error occured". Looking at the ULS logs you discover an error like:

Solutions2Share.Solutions.CollaborationManager.Services.ServiceApplication.CollaborationManagerServiceApplication.CreateWorkspaceFromTemplateInternal: Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA).   ExceptionType: 'COMException'   ExceptionMessage: 'Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA).'   StackTrace: '  
at Microsoft.SharePoint.Library.SPRequest..ctor()


Cause

This could be caused by an iisreset or service start/stop operation while the user profile service unloads the profile but couldn't succeed.


Solution

Restart the server and / or make sure the following Group Policy setting has been set at Machine/Computer Configuration/Administrative Templates/System/User Profiles

  • Do not forcefully unload the users registry at user logoff = Enabled