"800703fa 레지스트리 키에서 잘못된 작업 시도" 오류

증상

Microsoft SharePoint 2013 또는 Microsoft SharePoint 2010의 작업이 실패하고 SharePoint LogViewer의 ULS에 기록된 다음 COMException 오류 메시지가 표시됩니다.

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

이 오류는 여러 시나리오에서 발생할 수 있습니다. 예를 들어 다음 로그 항목이 표시되는 시나리오에서 이 오류가 발생할 수 있습니다.

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)

원인

이 문제는 일반적으로 관리자가 서비스 계정을 사용하여 대화형 세션을 위해 서버에 로그온한 다음 로그오프한 후에 발생합니다. 예를 들어 관리자는 팜 계정을 사용하여 WFE(웹 프런트 엔드) 서버에 로그온한 다음 로그오프할 수 있습니다. 이 작업은 레지스트리 키를 해당 계정의 프로필에서 강제로 언로드합니다. 이 조건을 사용하면 키를 나중에 사용할 수 없게 됩니다.

해결 방법

이 문제를 resolve 하려면 다음 방법 중 하나를 사용합니다.

방법 1

서비스 계정을 사용하여 대화형 세션을 위해 서버에 로그온하지 마세요.

방법 2

관련 Windows 사용자 프로필 서비스 기능을 사용하지 않도록 설정합니다. 이렇게 하려면 다음과 같이 하십시오.

  1. 영향을 받는 서버에서 그룹 정책 편집기(Gpedit.msc)를 엽니다.

  2. 다음 경로에서 UserProfiles 폴더를 엽니다.

    컴퓨터 구성>관리 템플릿>시스템>UserProfiles

  3. 사용자 로그오프 시 사용자 레지스트리를 강제로 언로드하지 않음 설정을 찾습니다.

  4. 설정을 사용으로 변경 합니다.

추가 정보

자세한 내용은 다음 MSDN Distributed Services 지원 팀 블로그 문서를 참조하세요.

ID 사용자가 로그오프하면 COM+ 애플리케이션이 Windows Server 2008에서 작동을 중지할 수 있습니다.

아직 해결되지 않았습니까? SharePoint 커뮤니티로 이동합니다.