Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 


TF53018: The application tier XXXXXXX is attempting to connect to a data tier with an incompatible version


지난번에는, 처음부터 TFS 2008 SP1 + SQL Server 2008을 설치하는 방법을 설명했었지요.

TFS 2008 SP1 + SQL Server 2008 설치
; https://www.sysnet.pe.kr/2/0/610

이번에는 기존 시스템에 TFS 2008 SP1을 설치하는 과정에서 발생한 오류 현상을 설명드리겠습니다. 제 딴에는, 그래도 순서가 Visual Studio 2008 SP1을 설치하고 그다음에 TFS 2008 SP1을 설치하는 것이 순서가 아닐까 싶어서 TFS 서버를 그렇게 업데이트 해봤습니다. 결론부터 말하면, 반드시 TFS 2008 SP1 설치 이후, Visual Studio 2008 SP1을 설치해야 합니다.

처음에는 Visual Studio 2008 SP1을 설치하고 나서 밤도 늦었길래 ^^; TFS 2008 SP1은 다음에 설치하기로 하고 잠이 들었는데, 다음 날 아침부터 TFS 서버에 접속을 못하는 현상이 발생했습니다. 간밤에 무슨 일을 했는지 벌써 까먹은 성태. '도대체 왜 이러는 것이야!'라며 투덜대다가 이벤트 로그에 남은 오류를 보고 정신이 번쩍 들었습니다. 즉, 다음과 같이 3개의 연달아 남은 로그가 간밤에 제가 Visual Studio 2008 SP1을 설치했었지... 하는 기억을 되살려 주는데 충분했거든요. ^^;


Event Type: Information
Event Source:   TFS Services
Event Category: None
Event ID:   9002
Date:       2008-12-05
Time:       오전 9:25:16
User:       N/A
Computer:   DXTFS2008
Description:
Team Foundation Core Web Service Application shut down.
The application is being shutdown for the following reason: HostingEnvironment

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source:   Team Foundation Error Reporting
Event Category: None
Event ID:   5000
Date:       2008-12-05
Time:       오전 9:25:16
User:       N/A
Computer:   DXTFS2008
Description:
EventType teamfoundationue, P1 1.0.0.0, P2 tfs, P3 9.0.30729.1, P4 9.0.0.0, P5 general, P6 typeinitializationexcept, P7 4758b22a940fe6d9, P8 d15c14bb, P9 NIL, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 74 00 65 00 61 00 6d 00   t.e.a.m.
0008: 66 00 6f 00 75 00 6e 00   f.o.u.n.
0010: 64 00 61 00 74 00 69 00   d.a.t.i.
0018: 6f 00 6e 00 75 00 65 00   o.n.u.e.
0020: 2c 00 20 00 31 00 2e 00   ,. .1...
0028: 30 00 2e 00 30 00 2e 00   0...0...
0030: 30 00 2c 00 20 00 74 00   0.,. .t.
0038: 66 00 73 00 2c 00 20 00   f.s.,. .
0040: 39 00 2e 00 30 00 2e 00   9...0...
0048: 33 00 30 00 37 00 32 00   3.0.7.2.
0050: 39 00 2e 00 31 00 2c 00   9...1.,.
0058: 20 00 39 00 2e 00 30 00    .9...0.
0060: 2e 00 30 00 2e 00 30 00   ..0...0.
0068: 2c 00 20 00 67 00 65 00   ,. .g.e.
0070: 6e 00 65 00 72 00 61 00   n.e.r.a.
0078: 6c 00 2c 00 20 00 74 00   l.,. .t.
0080: 79 00 70 00 65 00 69 00   y.p.e.i.
0088: 6e 00 69 00 74 00 69 00   n.i.t.i.
0090: 61 00 6c 00 69 00 7a 00   a.l.i.z.
0098: 61 00 74 00 69 00 6f 00   a.t.i.o.
00a0: 6e 00 65 00 78 00 63 00   n.e.x.c.
00a8: 65 00 70 00 74 00 2c 00   e.p.t.,.
00b0: 20 00 34 00 37 00 35 00    .4.7.5.
00b8: 38 00 62 00 32 00 32 00   8.b.2.2.
00c0: 61 00 39 00 34 00 30 00   a.9.4.0.
00c8: 66 00 65 00 36 00 64 00   f.e.6.d.
00d0: 39 00 2c 00 20 00 64 00   9.,. .d.
00d8: 31 00 35 00 63 00 31 00   1.5.c.1.
00e0: 34 00 62 00 62 00 2c 00   4.b.b.,.
00e8: 20 00 4e 00 49 00 4c 00    .N.I.L.
00f0: 20 00 4e 00 49 00 4c 00    .N.I.L.
00f8: 0d 00 0a 00               ....    

Event Type: Error
Event Source:   TFS Services
Event Category: None
Event ID:   3017
Date:       2008-12-05
Time:       오전 9:25:16
User:       N/A
Computer:   DXTFS2008
Description:
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 2008-12-05 오전 12:25:16
Machine: DXTFS2008
Application Domain: /LM/W3SVC/2067283295/Root/Services-46-128729103164477419
Assembly: Microsoft.TeamFoundation.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
  Process Name: w3wp
  Process Id: 3028
  Thread Id: 3276
  Account name: TESTDOMAIN\TFSSERVICE

Detailed Message: TF53013: A crash report is being prepared for Microsoft. The following information is included in that report:
System Values
OS Version Information=Microsoft Windows NT 5.2.3790 Service Pack 2
CLR Version Information=2.0.50727.3053

...[중간 생략]...

Exception: TypeInitializationException
Message: The type initializer for 'Microsoft.TeamFoundation.Server.IntegrationResourceComponent' threw an exception.
Stack Trace:
   at Microsoft.TeamFoundation.Server.IntegrationResourceComponent.RegisterExceptions()
   at Microsoft.TeamFoundation.Server.Global.Initialize()
   at Microsoft.TeamFoundation.Server.TeamFoundationApplication.Init()
Inner Exception Details
Exception: ReflectionTypeLoadException
Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Stack Trace:
   at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
   at System.Reflection.Assembly.GetTypes()
   at Microsoft.TeamFoundation.Server.SqlResourceComponent.RegisterExceptions(Assembly assembly)
   at Microsoft.TeamFoundation.Server.IntegrationResourceComponent.RegisterExceptions()
   at Microsoft.TeamFoundation.Server.IntegrationResourceComponent..cctor()

Application Domain Information
Assembly Name=mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly CLR Version=v2.0.50727

...[중간 생략]...

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

위의 오류 로그를 바탕으로 검색을 해보니, TFS 2008 SP1도 같이 설치되어 있어야 한다는 것이었습니다. 그래서, TFS 2008 SP1을 설치 시도를 했는데, 일이 안 되려고 그러는지 TFS 2008 SP1 설치가 계속 실패했습니다. 바로 이 이야기를 정리한 것이 아래의 글이었습니다.

TFS 2008 SP1 설치 - MsiApplyMultiplePatches returned 0x643
; https://www.sysnet.pe.kr/2/0/625

일단, TFS 접속이 안 되고 있어 업무를 못하고 있는 상황이었기 때문에 TFS 2008 SP1 설치 실패 이유에 대해 더 이상 헤매고 있을 수 없어서 Visual Studio 2008 SP1을 제거하기로 결정했습니다. 그런데, 급한 마음에... 제어판의 "프로그램 추가/삭제"에 가도 SP1 설치 기록이 안 보이니 ^^; 더욱 당황하게 되었습니다. 그렇죠? ^^; "Show updates" 옵션을 체크해 줘야만 아래와 같이 설치 기록이 보이게 됩니다.

[그림 1: Visual Studio 2008 SP1 제거 방법]
tfs_error_after_vsts_sp1_2.PNG

이젠 잘 되겠지... 하는 마음에 TFS 서버를 접속해 보았으나... 세상에나, 아직도 오류가 발생합니다. 이번에는 다음과 같은 오류입니다.

[그림 2: TFS 서버 접속 오류 - TF53018]
tfs_error_after_vsts_sp1_1.PNG
"
TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server XXXXX. The Team Foundation Server returned the following error: Team Foundation services are not available from the server.
Technical information (for administrator):
TF53018: The application tier XXXXX is attempting to connect to a data tier with an incompatible version (9.30221.00 is incompatible with the application tier version 9.20904.00)..
"



위의 오류에 대해서 검색해 보면, 별의별 이야기가 다 나오는데 모두 TFS 2005 때의 기록이었고, 한 예를 들면 어떤 사람은 동작하고 있는 다른 TFS 서버의 설치된 폴더를 그대로 복사해 왔다는 것부터 해서 TFS DB의 해당 버전을 바꿨다는 것까지 다양합니다.

저는 어떻게 해결했냐고요?

그냥 제어판의 "프로그램 추가/삭제"에서 "TFS 2008"을 복원 모드로 다시 실행하는 것으로 서비스가 정상화되었습니다.



[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 4/10/2022]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




1  2  3  4  5  6  7  8  9  10  11  12  13  14  [15]  ...
NoWriterDateCnt.TitleFile(s)
13261정성태2/15/20234537Windows: 224. Visual Studio - 영문 폰트가 Fullwidth Latin Character로 바뀌는 문제
13260정성태2/14/20234328오류 유형: 847. ilasm.exe 컴파일 오류 - error : syntax error at token '-' in ... -inf
13259정성태2/14/20234492.NET Framework: 2095. C# - .NET5부터 도입된 CollectionsMarshal
13258정성태2/13/20234334오류 유형: 846. .NET Framework 4.8 Developer Pack 설치 실패 - 0x81f40001
13257정성태2/13/20234400.NET Framework: 2094. C# - Job에 Process 포함하는 방법 [1]파일 다운로드1
13256정성태2/10/20235249개발 환경 구성: 665. WSL 2의 네트워크 통신 방법 - 두 번째 이야기
13255정성태2/10/20234583오류 유형: 845. gihub - windows2022 이미지에서 .NET Framework 4.5.2 미만의 프로젝트에 대한 빌드 오류
13254정성태2/10/20234513Windows: 223. (WMI 쿼리를 위한) PowerShell 문자열 escape 처리
13253정성태2/9/20235263Windows: 222. C# - 다른 윈도우 프로그램이 실행되었음을 인식하는 방법파일 다운로드1
13252정성태2/9/20234087오류 유형: 844. ssh로 명령어 수행 시 멈춤 현상
13251정성태2/8/20234535스크립트: 44. 파이썬의 3가지 스레드 ID
13250정성태2/8/20236382오류 유형: 843. System.InvalidOperationException - Unable to configure HTTPS endpoint
13249정성태2/7/20235212오류 유형: 842. 리눅스 - You must wait longer to change your password
13248정성태2/7/20234244오류 유형: 841. 리눅스 - [사용자 계정] is not in the sudoers file. This incident will be reported.
13247정성태2/7/20235126VS.NET IDE: 180. Visual Studio - 닷넷 소스 코드 디버깅 중 "Decompile source code"가 동작하는 않는 문제
13246정성태2/6/20234293개발 환경 구성: 664. Hyper-V에 설치한 리눅스 VM의 VHD 크기 늘리는 방법 - 두 번째 이야기
13245정성태2/6/20234867.NET Framework: 2093. C# - PEM 파일을 이용한 RSA 개인키/공개키 설정 방법파일 다운로드1
13244정성태2/5/20234196VS.NET IDE: 179. Visual Studio - External Tools에 Shell 내장 명령어 등록
13243정성태2/5/20235036디버깅 기술: 190. windbg - Win32 API 호출 시점에 BP 거는 방법 [1]
13242정성태2/4/20234488디버깅 기술: 189. ASP.NET Web Application (.NET Framework) 프로젝트의 숨겨진 예외 - System.UnauthorizedAccessException
13241정성태2/3/20233955디버깅 기술: 188. ASP.NET Web Application (.NET Framework) 프로젝트의 숨겨진 예외 - System.IO.FileNotFoundException
13240정성태2/1/20234113디버깅 기술: 187. ASP.NET Web Application (.NET Framework) 프로젝트의 숨겨진 예외 - System.Web.HttpException
13239정성태2/1/20233787디버깅 기술: 186. C# - CacheDependency의 숨겨진 예외 - System.Web.HttpException
13238정성태1/31/20235883.NET Framework: 2092. IIS 웹 사이트를 TLS 1.2 또는 TLS 1.3 프로토콜로만 운영하는 방법
13237정성태1/30/20235560.NET Framework: 2091. C# - 웹 사이트가 어떤 버전의 TLS/SSL을 지원하는지 확인하는 방법
13236정성태1/29/20235127개발 환경 구성: 663. openssl을 이용해 인트라넷 IIS 사이트의 SSL 인증서 생성
1  2  3  4  5  6  7  8  9  10  11  12  13  14  [15]  ...