Sdílet prostřednictvím


Chyba 800703fa – Pokus o neplatnou operaci s klíčem registru

Příznak

Operace v Microsoft SharePointu 2013 nebo Microsoft SharePointu 2010 selže a zobrazí se následující chybová zpráva COMException protokolovaná v ULS v SharePoint LogVieweru:

[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.  

K této chybě může dojít v několika různých scénářích. K této chybě může například dojít ve scénářích, ve kterých se zobrazí následující položky protokolu:

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)

Příčina

K tomuto problému obvykle dochází poté, co správce použije účet služby pro přihlášení k serveru pro interaktivní relaci a pak se odhlásí. Správce se například může přihlásit k serveru WFE (Web Front End) pomocí účtu farmy a pak se odhlásit. Tato aktivita vynutí uvolnění klíčů registru v profilu tohoto účtu. Tato podmínka způsobí, že klíče nebudou k dispozici pro budoucí použití.

Řešení

Chcete-li tento problém vyřešit, použijte některou z následujících metod.

Metoda 1

Nepřihlašujte se k serveru pro interaktivní relace pomocí účtu služby.

Metoda 2

Zakažte související funkci Služby profilů uživatelů systému Windows. Postupujte takto:

  1. Na ovlivněném serveru otevřete editor Zásady skupiny (Gpedit.msc).

  2. Otevřete složku UserProfiles v následující cestě:

    Konfigurace> počítačeŠablony pro správu>Systému>Uživatelsképrofily

  3. Vyhledejte nastavení Nevynucovat uvolnění registru uživatelů při odhlášení uživatele .

  4. Změňte nastavení na Povoleno.

Další informace

Další informace najdete v následujícím článku na blogu týmu podpory distribuovaných služeb MSDN:

Aplikace modelu COM+ může přestat fungovat v systému Windows Server 2008, když se identita uživatele odhlásí

Stále potřebujete pomoc? Přejděte na Komunita SharePointu.