성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] 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...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
글쓰기
제목
이름
암호
전자우편
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'>어느 순간 갑자기 접속이 안 되는 TFS 서버</h1> <p> 정확히 어느 순간이라고 꼬집어 말하기가 어렵군요. 여느 때와 다름없이 Visual Studio를 켜고 TFS 서버 접속을 하는데 오류가 발생했습니다. 원인을 찾기 위해 TFS 서버의 이벤트 로그를 확인해 보니, 다음과 같은 3개의 로그가 남아 있었습니다.<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: Microsoft-SharePoint Products-SharePoint Foundation Date: 2011-07-28 오전 12:15:33 Event ID: 5586 Task Category: Database Level: Error Keywords: User: TESTPC\tfsuser Computer: tfs.testpc.com Description: <span style='color: blue; font-weight: bold'>Unknown SQL Exception 18452 occurred. Additional error information from SQL Server is included below. Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.</span> </pre> <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: TFS Services Date: 2011-07-28 오전 12:15:19 Event ID: 3031 Task Category: None Level: Error Keywords: Classic User: N/A Computer: tfs.testpc.com Description: TF53010: The following error has occurred in a Team Foundation component or extension: Date (UTC): 2011-07-27 오후 3:15:19 Machine: TFS Application Domain: /LM/W3SVC/8083/ROOT/tfs-1-129562528727666237 Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Service Host: Process Details: Process Name: w3wp Process Id: 2984 Thread Id: 3964 Account name: TESTPC\SeongTae Jeong <span style='color: blue; font-weight: bold'>Detailed Message: The request could not be processed because the application is not configured correctly. No service host is available for the request. </span> Web Request Details Url: http://tfs.testpc.com:8086/tfs/TeamFoundation/Administration/v3.0/LocationService.asmx [method: POST] User Agent: Team Foundation (devenv.exe, 10.0.40219.1) Headers: Content-Length=338...[생략]...webservices%2fConnect Path: /tfs/TeamFoundation/Administration/v3.0/LocationService.asmx Local Request: False Host Address: 210.212.210.127 User: TESTPC\SeongTae Jeong [authentication type: NTLM] </pre> <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: TFS Services Date: 2011-07-28 오전 12:15:18 Event ID: 9001 Task Category: None Level: Error Keywords: Classic User: N/A Computer: tfs.testpc.com Description: TF53010: The following error has occurred in a Team Foundation component or extension: Date (UTC): 2011-07-27 오후 3:15:18 Machine: TFS Application Domain: /LM/W3SVC/8083/ROOT/tfs-1-129562528727666237 Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Service Host: Process Details: Process Name: w3wp Process Id: 2984 Thread Id: 3964 Account name: TESTPC\tfsuser Detailed Message: Application Request Processing Started Server Version = Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Service Account = TESTPC\tfsuser Machine Name = TFS Exception Message: TF246017: Team Foundation Server could not connect to the database. Verify that the server that is hosting the database is operational, and that network problems are not blocking communication with the server. (type DatabaseConnectionException) Exception Stack Trace: at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError) at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(SqlException sqlException) ...[생략]... at Microsoft.TeamFoundation.Framework.Server.TeamFoundationApplication.AttemptStart() Inner Exception Details: Exception Message: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. (type SqlException) SQL Exception Class: 14 SQL Exception Number: 18452 SQL Exception Procedure: SQL Exception Line Number: 65536 SQL Exception Server: db SQL Exception State: 1 SQL Error(s): Exception Data Dictionary: HelpLink.ProdName = Microsoft SQL Server HelpLink.EvtSrc = MSSQLServer HelpLink.EvtID = 18452 HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink HelpLink.LinkId = 20476 Exception Stack Trace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() ...[생략]... at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.Execute(ExecuteType executeType, CommandBehavior behavior) Web Request Details Url: http://tfs.testpc.com:8086/tfs/TeamFoundation/Administration/v3.0/LocationService.asmx [method: POST] User Agent: Team Foundation (devenv.exe, 10.0.40219.1) Headers: Content-Length=338&...[생략]...webservices%2fConnect Path: /tfs/TeamFoundation/Administration/v3.0/LocationService.asmx Local Request: False Host Address: 210.212.210.127 User: TESTPC\SeongTae Jeong [authentication type: NTLM] </pre> <br /> 사실, 딱히 위의 메시지로는 직접적인 원인을 찾을 수 없었습니다. 단지, 최근에 다음과 같은 일이 있었고,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor ... Access is denied. ; <a target='tab' href='http://www.sysnet.pe.kr/2/0/1093'>http://www.sysnet.pe.kr/2/0/1093</a> </pre> <br /> 최근 들어, DB 서버와 TFS 서버를 켜고 끌 때마다 "Applying machine settings..." 또는 "Applying user settings..." 단계에서 오래 멈춰 있다는 것이 마음에 걸리더군요. 이 역시 예전의 글 하나가 생각났습니다. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > WMI - The RPC server is unavailable ; <a target='tab' href='http://www.sysnet.pe.kr/2/0/920'>http://www.sysnet.pe.kr/2/0/920</a> </pre> <br /> 해결 방법은 이번에도 IPv6였습니다. 2대의 Active Directory 서버 모두 IPv6 기능을 해제하니 정상적으로 TFS 서버 접속이 허용되었습니다. (보통 AD와 DNS 서버를 같이 두기 때문에 정확히 그 문제의 원인이 AD였는지, DNS였는지는 알 수 없었습니다.)<br /> <br /> 암튼... 요즘 들어 제가 관리하는 PC들에서 "IPv6 대란"이 발생하고 있군요. ^^;<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
2039
(왼쪽의 숫자를 입력해야 합니다.)