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)
13387정성태6/28/20233754오류 유형: 870. _mysql - Commands out of sync; you can't run this command now
13386정성태6/27/20233812Linux: 61. docker - 원격 제어를 위한 TCP 바인딩 추가
13385정성태6/27/20234035Linux: 60. Linux - 외부에서의 접속을 허용하기 위한 TCP 포트 여는 방법
13384정성태6/26/20233754.NET Framework: 2131. C# - Source Generator로 해결하는 enum 박싱 문제파일 다운로드1
13383정성태6/26/20233504개발 환경 구성: 683. GPU 런타임을 사용하는 Colab 노트북 설정
13382정성태6/25/20233561.NET Framework: 2130. C# - Win32 API를 이용한 윈도우 계정 정보 (예: 마지막 로그온 시간)파일 다운로드1
13381정성태6/25/20233974오류 유형: 869. Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
13380정성태6/24/20233404스크립트: 52. 파이썬 3.x에서의 동적 함수 추가
13379정성태6/23/20233436스크립트: 51. 파이썬 2.x에서의 동적 함수 추가
13378정성태6/22/20233329오류 유형: 868. docker - build 시 "CANCELED ..." 뜨는 문제
13377정성태6/22/20237202오류 유형: 867. 파이썬 mysqlclient 2.2.x 설치 시 "Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually" 오류
13376정성태6/21/20233565.NET Framework: 2129. C# - Polly를 이용한 클라이언트 측의 요청 재시도파일 다운로드1
13375정성태6/20/20233231스크립트: 50. Transformers (신경망 언어모델 라이브러리) 강좌 - 2장 코드 실행 결과
13374정성태6/20/20233332오류 유형: 866. 파이썬 - <class 'AttributeError'> module 'flask.json' has no attribute 'JSONEncoder'
13373정성태6/19/20234644오류 유형: 865. 파이썬 - pymssql 설치 관련 오류 정리
13372정성태6/15/20233260개발 환경 구성: 682. SQL Server TLS 통신을 위해 사용되는 키 길이 확인 방법
13371정성태6/15/20233331개발 환경 구성: 681. openssl - 인증서 버전(V1 / V3)
13370정성태6/14/20233491개발 환경 구성: 680. C# - Ubuntu + Microsoft.Data.SqlClient + SQL Server 2008 R2 연결 방법 - TLS 1.2 지원
13369정성태6/13/20233306개발 환경 구성: 679. PyCharm(을 비롯해 JetBrains에 속한 여타) IDE에서 내부 Window들의 탭이 없어진 경우
13368정성태6/13/20233460개발 환경 구성: 678. openssl로 생성한 인증서를 SQL Server의 암호화 인증서로 설정하는 방법
13367정성태6/10/20233600오류 유형: 864. openssl로 만든 pfx 인증서를 Windows Server 2016 이하에서 등록 시 "The password you entered is incorrect" 오류 발생
13366정성태6/10/20233334.NET Framework: 2128. C# - 윈도우 시스템에서 지원하는 암호화 목록(Cipher Suites) 나열파일 다운로드1
13365정성태6/8/20233068오류 유형: 863. MODIFY FILE encountered operating system error 112(failed to retrieve text for this error. Reason: 15105)
13364정성태6/8/20233897.NET Framework: 2127. C# - Ubuntu + Microsoft.Data.SqlClient + SQL Server 2008 R2 연결 방법 [1]
13363정성태6/7/20233487스크립트: 49. 파이썬 - "Transformers (신경망 언어모델 라이브러리) 강좌" - 1장 2절 코드 실행 결과
13362정성태6/1/20233403.NET Framework: 2126. C# - 서버 측의 요청 제어 (Microsoft.AspNetCore.RateLimiting)파일 다운로드1
1  2  3  4  5  6  7  8  9  [10]  11  12  13  14  15  ...