성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Roll A Lisp In C - Reading ; https...
[정성태] Java - How to use the Foreign Funct...
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>SharePoint - System.InvalidOperationException: The farm is unavailable.</h1> <p> 테스트로 구성한 SharePoint에서 갑자기 이벤트 로그에 다음과 같은 오류를 내뱉습니다.<br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> WebHost failed to process a request.<br /> Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/62676156<br /> <span style='color: blue; font-weight: bold'> Exception: System.ServiceModel.ServiceActivationException: The service '/e6699ca06c3e479db7cc994fb012007d/ProfilePropertyService.svc' cannot be activated due to an exception during compilation. The exception message is: The farm is unavailable.. ---> System.InvalidOperationException: The farm is unavailable.</span> <br /> at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()<br /> at Microsoft.SharePoint.IdentityModel.SPServiceIssuerNameRegistry..ctor()<br /> at Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost, SPServiceAuthenticationMode authenticationMode)<br /> at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)<br /> --- End of inner exception stack trace ---<br /> at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)<br /> at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)<br /> Process Name: w3wp<br /> Process ID: 2936<br /> </div><br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> WebHost failed to process a request.<br /> Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/43253384<br /> <span style='color: blue; font-weight: bold'> Exception: System.ServiceModel.ServiceActivationException: The service '/009bb53f0ae64a48a72ac3d9a226952b/MetadataWebService.svc' cannot be activated due to an exception during compilation. The exception message is: The farm is unavailable.. ---> System.InvalidOperationException: The farm is unavailable.</span> <br /> at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()<br /> at Microsoft.SharePoint.IdentityModel.SPServiceIssuerNameRegistry..ctor()<br /> at Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost, SPServiceAuthenticationMode authenticationMode)<br /> at Microsoft.SharePoint.Taxonomy.MetadataWebServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)<br /> --- End of inner exception stack trace ---<br /> at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)<br /> at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)<br /> Process Name: w3wp<br /> Process ID: 2936<br /> </div><br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> WebHost failed to process a request.<br /> Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/59621546<br /> <span style='color: blue; font-weight: bold'> Exception: System.ServiceModel.ServiceActivationException: The service '/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The farm is unavailable.</span> <br /> at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()<br /> at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor()<br /> --- End of inner exception stack trace ---<br /> at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)<br /> at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)<br /> at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)<br /> at System.Activator.CreateInstance(Type type, Boolean nonPublic)<br /> at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br /> at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateSecurityTokenServiceConfiguration(String constructorString)<br /> at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)<br /> at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)<br /> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)<br /> --- End of inner exception stack trace ---<br /> at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)<br /> at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)<br /> Process Name: w3wp<br /> Process ID: 4468<br /> </div><br /> <br /> 이런 상황에서 웹 브라우저를 통해 "SharePoint 2010 Central Administration" 접근시 "Cannot connect to the configuration database."라는 오류 메시지를 볼 수 있습니다.<br /> <br /> 해법은 간단합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > The farm is unavailable. ; <a target='tab' href='http://blog.argonius.com/sharepoint/the-farm-is-unavailable/'>http://blog.argonius.com/sharepoint/the-farm-is-unavailable/</a> </pre> <br /> 서비스 관리자에서 "SQL SERVER(SHAREPOINT)" 서비스를 시작해주면 됩니다. ^^<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
1248
(왼쪽의 숫자를 입력해야 합니다.)