2

RM サーバーの構成中に次のエラーが発生します: Object Already existsWindows Server 2008 R2 エンタープライズで。ログを見つけてください。

I, 2014/10/29, 08:18:40.108, Variable : Key = DefaultLogin, Value = GAP-RELEASE\BuildUser
I, 2014/10/29, 08:18:40.124, Variable : Key = DefaultAdmin, Value = GAP-RELEASE\BuildUser
I, 2014/10/29, 08:18:40.124, Variable : Key = DatabaseName, Value = ReleaseManagement
I, 2014/10/29, 08:18:40.124, Variable : Key = DefaultLocalService, Value = NT AUTHORITY\LOCAL SERVICE
I, 2014/10/29, 08:18:53.384, Database ReleaseManagement, version 12.0.30723.0 was installed successfully.
I, 2014/10/29, 08:18:53.399, Created Release Management database.
E, 2014/10/29, 08:18:53.462, Received Exception : System.Security.Cryptography.CryptographicException: Object already exists.

   at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
   at System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv)
   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
   at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
   at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
   at Microsoft.TeamFoundation.Release.CommonConfiguration.Helpers.CryptoHelper.ConfigureServerCryptoKey(String serverName, String databaseName)
   at Microsoft.TeamFoundation.Release.Configuration.ConfigurationManager.Configure(ConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
I, 2014/10/29, 08:18:53.462, Work completed for GetConfiguration() call : got out of turn error
E, 2014/10/29, 08:18:53.462, Object already exists.
4

2 に答える 2

1

私は同じ問題を抱えていました。多くの人がこのソリューションを楽しみにしています: http://blogs.objectsharp.com/post/2014/11/04/%E2%80%9CObject-already-exists%E2%80%9D-error-during-Release-Management -server-configuration.aspx

それでもうまくいかず、最終的にインフラチームにマシンの復元を任せました。これで問題は解決しました。

私の場合、データベース サーバーは別のマシンにあり、すべてのリリース パスとテンプレートを保持していました。

再構成する必要があったのは、IIS パス ( http://localhost:1000/releasemanagement)だけでした。

于 2015-05-21T10:59:35.290 に答える
-1

Release Management サービス アカウントを Release Management サーバーのローカル管理者にします。

更新: 最近、クライアントでこの問題に遭遇しました。サービス アカウントはローカル管理者でしたが、アカウントにはマシン キー フォルダー (C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys) に対する必要なアクセス許可がありませんでした。何らかの理由で、アクセス許可を適用できませんでした。完全な特権を持つアカウントであっても、アクセスが拒否されましたというメッセージを受け取りました。

私はそれを次のように解決しました:

  1. サービス ユーザーで MachineKeys フォルダーの所有権を取得します。
  2. サービス ユーザーに完全な読み取り/書き込み権限を付与する
  3. フォルダの所有権を SYSTEM アカウントにリセットします
于 2014-10-29T18:26:46.130 に答える