성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
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'>새로 설치한 Visual Studio 2010의 Team Explorer 실행시 비정상 종료가 된다면?</h1> <p> <br /> 기존 TFS 2010 서버가 있는 상태에서 새롭게 Visual Studio 2010 + SP1을 설치하고 TFS를 등록했는데, 이후로 Team Explorer 만 띄우면 예외가 발생하면서 Visual Studio가 비정상 종료되었습니다.<br /> <br /> 이때 TFS 서버측 이벤트 로그에는 다음과 같은 항목이 남아 있고,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Log Name: Application Source: System.ServiceModel 3.0.0.0 Date: 2013-01-08 오후 1:38:00 Event ID: 3 Task Category: WebHost Level: Error Keywords: Classic User: TESTPC\tfsuser Computer: tfs.testpc.com Description: WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/33711845 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.ArgumentNullException: Value cannot be null. Parameter name: certificate at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate, String id, Boolean clone, Boolean disposable) at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate) at Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials..ctor(X509Certificate2 certificate) at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateSecurityTokenServiceConfiguration(String constructorString) at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) Process Name: w3wp Process ID: 2672 </pre> <br /> Visual Studio 가 설치된 컴퓨터의 이벤트 로그에는 다음과 같은 항목이 있습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Fault bucket , type 0 Event Name: CLR20r3 Response: Not available Cab Id: 0 Problem signature: P1: devenv.exe P2: 10.0.40219.1 P3: 4d5f2a73 P4: Microsoft.TeamFoundation.Common P5: 10.0.40219.371 P6: 4ee75318 P7: 4b6 P8: 45 P9: <span style='color: blue; font-weight: bold'>System.MissingMethodException</span> P10: Attached files: These files may be available here: C:\Users\tfsuser\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_devenv.exe_3eb42921c720f63f9463facd84ff6bd4490f6c8_03d6cd14 Analysis symbol: Rechecking for solution: 0 Report Id: a25e7b17-592b-11e2-93f5-00155d897502 Report Status: 2048 Hashed bucket: </pre> <br /> <a target='tab' href='http://www.sysnet.pe.kr/2/0/909'>낯익은 System.MissingMethodException</a> 이 발생했군요. 이를 통해 검색해 보면 다음의 글이 나옵니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > TFS 2010 Explorer installed on TFS 2010 Server: works first time; never more.... ; <a target='tab' href='http://social.msdn.microsoft.com/Forums/en-US/tfsadmin/thread/d7bc385e-8b1f-4df4-b7e6-d0d0981ff394/'>http://social.msdn.microsoft.com/Forums/en-US/tfsadmin/thread/d7bc385e-8b1f-4df4-b7e6-d0d0981ff394/</a> </pre> <br /> 그래서 GDR 패치를 다운로드 받아서 설치하면 일단 이 문제가 해결됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Visual Studio 2010 SP1 Team Foundation Server 2012 Compatibility GDR - Provides compatibility between all VS 2010 products that connect to Team Foundation Server 2012 or the Team Foundation Service Preview ; <a target='tab' href='http://www.microsoft.com/en-us/download/details.aspx?id=29082'>http://www.microsoft.com/en-us/download/details.aspx?id=29082</a> </pre> <br /> 그런데 이상하긴 하군요. ^^ 제가 설치한 TFS는 2010 버전인데... 혹시 서버에도 이와 대응되는 패치가 설치된 것이 아닐까요? 그래서 TFS 서버가 설치된 PC 의 업데이트 목록을 "제어판" / "Programs and Features" / "Installed Updates" 에서 확인해 보니 "Hotfix for Microsoft Team Foundation Server 2010 - ENU (KB2643415)" 항목이 눈에 들어옵니다.<br /> <br /> KB2643415 업데이트 설명을 보면,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Cumulative update package 2 for Visual Studio Team Foundation Server 2010 Service Pack 1 ; <a target='tab' href='http://support.microsoft.com/kb/2643415/en-us'>http://support.microsoft.com/kb/2643415/en-us</a> </pre> <br /> "2581206 - FIX: A hotfix for Visual Studio 2010 SP1 is available to add compatibility support for Visual Studio Team Foundation Service Preview" 항목이 있습니다. "TFS Preview" 업데이트가 겹치는 것을 보니... 짐작이 갑니다.<br /> <br /> 즉, KB2643415 패치가 된 TFS 2010 서버에 접속하려면 GDR 패치가 된 Visual Studio 2010 으로 해야 한다는 가정!<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
3612
(왼쪽의 숫자를 입력해야 합니다.)