我正在尝试创建一个TFS 2005(非SP1)的Dev实例,以便测试SP1。我们正在使用双服务器模式。
到目前为止,我已经在我的App机器上安装了TFS,从数据库机器上的prod恢复了数据库,并在我的数据库中更新了引用。还运行了常用的tfsadminutil命令。
当我打开VS2005并尝试连接到TFS时,我收到此错误:
Team Foundation Server scdctstmp01 does not exist or is not accessible at this time. Technical information (for administrator): HTTP code 503: TF30059: Fatal error while initializing web service
我的应用机器上的事件日志提供了2个错误:
Event Type: Error
Event Source: TFS Version Control
Event Category: None
Event ID: 3023
Date: 1/12/2011
Time: 2:23:53 PM
User: N/A
Computer: SCDCTSTMP01
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 1/12/2011 6:23:53 AM
Machine: SCDCTSTMP01
Application Domain: /LM/W3SVC/3/Root/VersionControl-6-129671942250700000
Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 4440
Thread Id: 4660
Account name: JUSTICE\svctfsservicetest
Detailed Message: TF14073: The stored download key is not valid. The key will be regenerated.
Web Request Details
Url: http://scdctstmp01:8080/VersionControl/v1.0/repository.asmx [method: POST]
User Agent: Team Foundation (devenv.exe, 8.0.50727.147)
Headers: Content-Length=319&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&Accept-Encoding=gzip%2cgzip%2cgzip&Accept-Language=en-AU&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAHgAAAAYABgAkAAAAA4ADgBIAAAAEAAQAFYAAAASABIAZgAAABAAEACoAAAANYKI4gUBKAoAAAAPSgBVAFMAVABJAEMARQBSAGEAdABpAGwAYQBsAEEAVwBLAFMANQAzADcAMgA2ADEAPY1tpAEvSp0AAAAAAAAAAAAAAAAAAAAAyQBeCmtO9f7LX%2fiQDfGQkQsvS8PePBVfQSawM960yZWsaavouGJD6A%3d%3d&Expect=100-continue&Host=scdctstmp01%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+8.0.50727.147)&X-TFS-Version=1.0.0.0&X-VersionControl-Instance=182973de-f5c6-4c0f-9895-91f36f476551
Path: /VersionControl/v1.0/repository.asmx
Local Request: False
Host Address: 10.96.144.249
User: JUSTICE\RatilalA [authentication type: NTLM]
Exception Message: Keyset does not exist
(type CryptographicException)
Exception Stack Trace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)
at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()
at System.Runtime.InteropServices.SafeHandle.InternalDispose()
at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
at System.Runtime.InteropServices.SafeHandle.Dispose()
at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing)
at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose()
at Microsoft.TeamFoundation.VersionControl.Server.Proxy.RequestSignatures.GetKeyInformation(Byte[] privateKey, Int32& keyLength, Byte[]& publicKey)
at Microsoft.TeamFoundation.VersionControl.Server.RepositoryProperties.set_PrivateKey(Byte[] value)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
和
Event Type: Error
Event Source: TFS Version Control
Event Category: None
Event ID: 3000
Date: 1/12/2011
Time: 2:23:59 PM
User: N/A
Computer: SCDCTSTMP01
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 1/12/2011 6:23:59 AM
Machine: SCDCTSTMP01
Application Domain: /LM/W3SVC/3/Root/VersionControl-6-129671942250700000
Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 4440
Thread Id: 4660
Account name: JUSTICE\svctfsservicetest
Detailed Message: TF14000: A critical error occured while generating new download key. Shutting down the current AppDomain
Web Request Details
Url: http://scdctstmp01:8080/VersionControl/v1.0/repository.asmx [method: POST]
User Agent: Team Foundation (devenv.exe, 8.0.50727.147)
Headers: Content-Length=319&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&Accept-Encoding=gzip%2cgzip%2cgzip&Accept-Language=en-AU&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAHgAAAAYABgAkAAAAA4ADgBIAAAAEAAQAFYAAAASABIAZgAAABAAEACoAAAANYKI4gUBKAoAAAAPSgBVAFMAVABJAEMARQBSAGEAdABpAGwAYQBsAEEAVwBLAFMANQAzADcAMgA2ADEAPY1tpAEvSp0AAAAAAAAAAAAAAAAAAAAAyQBeCmtO9f7LX%2fiQDfGQkQsvS8PePBVfQSawM960yZWsaavouGJD6A%3d%3d&Expect=100-continue&Host=scdctstmp01%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+8.0.50727.147)&X-TFS-Version=1.0.0.0&X-VersionControl-Instance=182973de-f5c6-4c0f-9895-91f36f476551
Path: /VersionControl/v1.0/repository.asmx
Local Request: False
Host Address: 10.96.144.249
User: JUSTICE\RatilalA [authentication type: NTLM]
Exception Message: Keyset does not exist
(type CryptographicException)
Exception Stack Trace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)
at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()
at System.Runtime.InteropServices.SafeHandle.InternalDispose()
at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
at System.Runtime.InteropServices.SafeHandle.Dispose()
at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing)
at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose()
at Microsoft.TeamFoundation.VersionControl.Server.Proxy.RequestSignatures.GenerateNewPrivateKey(Int32 keyLength)
at Microsoft.TeamFoundation.VersionControl.Server.AdministrationManager.GenerateRepositoryKey(Int32 keyLength)
at Microsoft.TeamFoundation.VersionControl.Server.Global.Initialize()
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
任何人都知道问题是什么?感谢。
答案 0 :(得分:0)
发现我正在复制的数据库是SP1,而我的测试服务器不是。
要查找TFS版本:导航到 C:\ Program Files \ Microsoft Visual Studio 2005 Team Foundation Server \ Web Services \ Services \ bin 右键单击Microsoft.TeamFoundation.Server.dll,Properties,Version 文件版本8.0.50727.762 = SP1。 文件版本8.0.50727.147 = RTM。