安裝 Team Foundation Server 錯誤 TF255356 解決方案

這是之前安裝Team Foundation Server時發生的一個錯誤

如下:

TF255356 Error occured during servicing step Add Running User to the TFSADMINROLE

TF255356: The following error occurred when configuring the Team Foundation databases: Error occurred while executing servicing step Add Running User to the TFSADMINROLE for component Install during Install: ModifyExecRole.sql Line 2 Error: The server principal ‘NIMBLE\Administrator’ already exists.

ModifyExecRole

account=NIMBLE\Administrator

operation=1

Adding …

checking if login exists

NIMBLE\Administrator is not a login. creating login.. For more information, see the configuration log.

其實問題的發生很簡單,因為在裝完SQL Server後,

手賤的又去改了電腦名稱,所以造成SQL Server的帳號還是沿用舊的電腦名稱,

自然的,再裝Team Foundation Server時,就因為帳號不對,進不去了。

解決方法,進入SQL Server 然後把帳號改成現在電腦名稱的帳號,就可以了=w=