2014-10-29 94 views
2

在Windows Server 2008 R2企業中配置RM服務器時出現以下錯誤:Object Already exists。請找到日誌。發佈管理服務器安裝問題 - 對象已存在

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. 

回答

-1

使發佈管理服務帳戶成爲發佈管理服務器上的本地管理員。

更新:我最近在客戶端遇到了這個問題。該服務帳戶是本地管理員,但該帳戶沒有對計算機密鑰文件夾(C:\ Users \ All Users \ Microsoft \ Crypto \ RSA \ MachineKeys)的必要權限。出於某種原因,我無法應用權限 - 即使擁有完全特權的帳戶,我也收到拒絕訪問消息。

我最終解決它,如下所示:

MachineKeys的的
  1. 採取所有權與服務的用戶文件夾
  2. 充分的讀/寫權限的服務用戶的文件夾的
  3. 復位所有權SYSTEM帳戶
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