Delen via


Fout '800703fa Illegale bewerking geprobeerd op een registersleutel'

Symptoom

Een bewerking in Microsoft SharePoint 2013 of Microsoft SharePoint 2010 mislukt en u ziet het volgende COMException-foutbericht dat is vastgelegd in ULS in SharePoint LogViewer:

[System.Runtime.InteropServices.COMException (0x800703FA): Retrieving the COM class factory for component with CLSID {<GUID>} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion.  

Deze fout kan in verschillende scenario's optreden. Deze fout kan bijvoorbeeld optreden in scenario's waarin u de volgende logboekvermeldingen ziet:

11/03/2015 20:09:45.83 w3wp.exe (0x1A24) 0x46CC SharePoint Portal Server Microfeeds ada0j Unexpected
MicroBlogList.GetMicroBlogPostsForRePopulation http://mysite/personal/12345 permanent failure
Exception:
[System.Runtime.InteropServices.COMException (0x800703FA): 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).
at Microsoft.SharePoint.Library.SPRequest..ctor()
at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(...)
at Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode)
at Microsoft.SharePoint.Administration.SPFarm.get_RequestAny()
at Microsoft.SharePoint.SPSecurity.GetCurrentUserTokenNoApplicationPrincipalDelegated(SPWebApplication webApp, Uri siteUrl)
at Microsoft.SharePoint.SPSecurity.GetCurrentUserToken()
at Microsoft.SharePoint.SPSecurity.EnsureOriginatingUserToken()
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.Office.Server.UserProfiles.SPS2SAppContext.GetClientContext(...)
at Microsoft.Office.Server.UserProfiles.SPS2SAppExecutionContextBase.get_ClientContext()
at Microsoft.Office.Server.Microfeed.SPMicrofeedStore.Query(...)
at Microsoft.Office.Server.Microfeed.MicroBlogList.ExecuteRepopulationCamlQuery(...)
at Microsoft.Office.Server.Microfeed.MicroBlogList.GetMicroBlogPostsForRePopulation...)]
Handling an exception. Exception details: System.Runtime.InteropServices.COMException (0x800703FA): 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).  
at Microsoft.SharePoint.Library.SPRequest..ctor()  
at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(...)  
at Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode)  
at Microsoft.SharePoint.Administration.SPFarm.get_RequestAuthAny()  
at Microsoft.SharePoint.Administration.SPAcl`1.CalculatePermissions()  
at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.CheckAccess(SPIisWebServiceApplicationRights rights)  
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication.DoesUserHavePermissions(...)  
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication.GetChangedTermSets(...)  
at SyncInvokeGetChangedTermSets(Object , Object[] , Object[] )  
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)  
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)  
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)  
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)  
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Oorzaak

Dit probleem treedt meestal op nadat een beheerder een serviceaccount gebruikt om zich aan te melden bij de server voor een interactieve sessie en zich vervolgens afmeldt. Een beheerder kan zich bijvoorbeeld aanmelden bij een WFE-server (Web Front End) met behulp van het farmaccount en zich vervolgens afmelden. Deze activiteit dwingt af dat de registersleutels worden verwijderd in het profiel van dat account. Door deze voorwaarde zijn de sleutels niet meer beschikbaar voor toekomstig gebruik.

Oplossing

Gebruik een van de volgende methoden om dit probleem op te lossen.

Methode 1

Meld u niet aan bij de server voor interactieve sessies met behulp van een serviceaccount.

Methode 2

Schakel de gerelateerde functie windows-gebruikersprofielservice uit. Ga hiervoor als volgt te werk:

  1. Open de groepsbeleid-editor (Gpedit.msc) op de betreffende server.

  2. Open de map UserProfiles in het volgende pad:

    Computerconfiguratie>Beheersjablonen>Systeem>UserProfiles

  3. Zoek de instelling Het gebruikersregister niet geforceerd verwijderen bij afmelden van de gebruiker .

  4. Wijzig de instelling in Ingeschakeld.

Meer informatie

Zie het volgende blogartikel over het ondersteuningsteam van MSDN Distributed Services voor meer informatie:

Een COM+-toepassing werkt mogelijk niet meer op Windows Server 2008 wanneer de identiteitsgebruiker zich afmeldt

Meer hulp nodig? Ga naar SharePoint-community.