TFS2010迁移后Web工作项访问提示:error HRESULT E_FAIL has been returned from a call to a COM component....
前天遷移TFS2010的虛擬機(jī),重新映射了數(shù)據(jù)庫服務(wù)器后沒有發(fā)現(xiàn)任何問題。但是今早訪問對應(yīng)Web站點,點擊任何一個工作項都提示:error HRESULT E_FAIL has been returned from a call to a COM component。但通過Visual Studio依然可以操作任何工作項。在MSDN的一篇名為Creating a new server from an old one: Beware of the InstanceId找到了解決方案:
1、停止IIS。
2、在cmd窗口中cd TFS2010 tools的安裝目錄,例如:C:\Program Files\Microsoft Team Foundation Server 2010\Tools。
3、執(zhí)行:tfsconfig changeserverid /sqlinstance: /databasename:Tfs_Configuration。
4、執(zhí)行:tfsconfig registerdb /sqlinstance: /databaseName:Tfs_Configuration。
5、重新啟動IIS。
在原文章中提到需要再次執(zhí)行命令net start tfsjobagent,實際上第四步完成后tfsjobagent會重新啟動。
Creating a new server from an old one: Beware of the InstanceId:http://blogs.msdn.com/b/buckh/archive/2006/10/17/creating-a-new-server-from-an-old-one-beware-of-the-instanceid.aspx
轉(zhuǎn)載于:https://www.cnblogs.com/junchu25/archive/2012/08/10/2631135.html
總結(jié)
以上是生活随笔為你收集整理的TFS2010迁移后Web工作项访问提示:error HRESULT E_FAIL has been returned from a call to a COM component....的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C# 打开word 语法拼写错误太多 解
- 下一篇: Halcon Example - 圆弧测