0

別のドメインから展開エージェントを RM クライアントに接続しようとしています。シャドウ アカウントとその他すべてを作成しましたが、まだ機能していません。同じドメインで接続できました。私の RM クライアントとサーバーは同じマシン (VM) にあります。私の展開エージェントは別のワークグループ ドメインにあります (すべて VM にあります)。ログ ファイルから以下のエラーが表示されます。

   Created Nt account for user RM.user1
   Found Sid S-1-5-21-2704102820-366803756-3152234569-1011 for user RM.user1
   Is RM.user1 network service account? False 
   Created Nt account for user RM.user1
   Found Sid S-1-5-21-2704102820-366803756-3152234569-1011 for user RM.user1
   Is RM.user1 local system account? False 
   Domain: 
   Final UserName: SVWP500\RM.user1.
   Loading account details for SVWP500\RM.user1
   Is SVWP500\RM.user1 local machine account? True 
Normalized account is SVWP500\RM.user1 and Sid is S-1-5-21-2704102820-366803756-3152234569-1011
Validating account to use as identity for Release Management Services...
IsAdminAccount : Trying to determine if the account : SVWP500\RM.user1 is an admin on the local machine
IsAdminAccount : Trying to determine if the account : SVWP500\RM.user1 is an admin on the local machine
User SVWP500\RM.user1 is system, Admin 
Validated account to use as identity for Release Management Services.
Validating Release Management Server for Team Foundation Server 2013....


ServiceUserIsServiceUser="1" InstallerUserIsReleaseManager="1" />, Release Management Server for Team Foundation Server 2013 validation succeeded.


Received Exception : System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at System.Security.Cryptography.Utils.SetKeySetSecurityInfo(SafeProvHandle hProv, CryptoKeySecurity cryptoKeySecurity, AccessControlSections accessControlSections)
   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.<.ctor>b__2(CspParameters container)
   at Microsoft.TeamFoundation.Release.CommonConfiguration.Helpers.CryptoHelper.ConfigureDeployerCryptoKey(String userName)
   at Microsoft.TeamFoundation.Release.CommonConfiguration.DeployerConfigurationManager.Configure()
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Work completed for GetConfiguration() call : got out of turn error


Please help on this.
4

1 に答える 1

2

展開エージェントの登録に使用しているアカウントには、リリース管理へのアクセス許可がないようです。Team Foundation Validation の次のステップは、展開構成の更新であるためです。

I, 2015/02/13, 08:25:54.156, Release Management Server for Team Foundation Server 2013 validation succeeded.
I, 2015/02/13, 08:25:54.236, Updating Microsoft Deployment Agent 2013 configuration settings...
V, 2015/02/13, 08:25:54.238, Successfully read Release Management deployer registry key, installation path is C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\
V, 2015/02/13, 08:25:54.251, Opening configuration file C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\bin\Microsoft.TeamFoundation.Release.Data.dll.config

同様のステップアップがあり、以下は私の環境で機能させるために行ったステップです

  1. DomainA\RMServer と DomainB\DeploymentAgentServer の両方のマシンでローカル ユーザー (RMServer) を作成します。ユーザーを管理者グループに追加します

  2. DomainA\RMServer と DomainB\DeploymentAgentServer の両方のマシンでローカル ユーザー (DeployAgent) を作成します。ユーザーを管理者グループに追加します

  3. リリース管理クライアントから .\RMServer アカウントを追加し、「サービス ユーザー」と「リリース マネージャー」の両方の権限を付与します (Windows アカウントのテスト ボックスでは、machinename\user を使用せず、.\user を追加するだけであることに注意してください)。

  4. リリース管理クライアントから .\DeployAgent アカウントを追加し、「サービス ユーザー」を付与します (Windows アカウントのテキスト ボックスでは、machinename\user を使用せず、.\user を追加するだけであることに注意してください)。

  5. DeployAgent ユーザー (手順 2 で作成) として DomainB\DeploymentAgentServer に展開エージェントをインストールします。

Microsoft & Wouter de Kortブログを使用していました

于 2015-02-13T08:30:51.593 に答える