2012-03-28 205 views
1

當試圖通過管理控制檯(附加集合)恢復我備份的TFSCollection時,附件失敗。 (空引用異常)Team Foundation Server TFSConfig recover

恢復沒有原始配置數據庫的集合時是否有任何問題?

藏品上市,但狀態不`噸從「離線」,甚至當我試圖改變重新運行工作。

當尋找到[TFSCollection] [tbl_projects]通過Management Studio中我可以看到所有的項目。

當試圖通過

TFSConfig RegisterDB /sqlInstance:DataCenter\MSSQLServer /databaseName:DataCenter\MSSQLServer;Tfs_Configuration 

我收到以下錯誤恢復徵收:

The following exception was caught while trying to validate the database: Keyword not supported: 'tfs_configuration;integrated security'.

或當我運行:

TFSConfig recover /ConfigurationDB:DataCenter\MSSQLServer;Tfs_Configuration /CollectionDB:DataCenter\MSSQLServer;Tfs_TFSCollection 

出現以下錯誤:

TF246017: Team Foundation Server could not connect to the database. Verify that the server that is hosting the database is operational, and that network problem s are not blocking communication with the server.

也許我在安裝TFS Service Pack 1時遇到了一些嚴重的問題。

我能做些什麼來恢復我的TFS?

即使在我的虛擬環境中導入失敗。請參閱logfile

+0

你嘗試SQL恢復功能,自帶的[TFS電動工具(http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68- 8f4e-cd473d6b971f)? – KMoraz 2012-03-28 09:07:33

回答

1

如果有人有同樣的問題,請看http://support.microsoft.com/kb/2516423

如果你不能訪問你的收藏,你可以試試。

TfsConfig updates /reapply 

要啓動TFS作業代理,您可以運行。

TfsServiceControl unquiesce 

或者如果「Serviving」狀態不改變,你可以試試這個。

TfsConfig diagnose /scope:updates 
TfsConfig updates /reapply 

希望這可以幫助..