2012-03-28 206 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 

希望这可以帮助..