Peet Brits
Peet Brits

Reputation: 3257

TFSConfig Accounts /ResetOwner ... fails

I'm trying to move a TFS Server (see here and here), but everything is not working well. When I get to the Change Ownership step, the following command fails:

TFSConfig Accounts /ResetOwner /SQLInstance:<ServerName> /DatabaseName:<DatabaseName>

The error on the Tfs_Configuration table:

TF30065: An unhandled exception occurred.

The error on the Tfs_DefaultConfiguration table:

TF30040: The database is not correctly configured. Contact your Team Foundation Server administrator.

I skipped the marked transactions, because I could not get it working.

Upvotes: 0

Views: 1449

Answers (1)

mehdi lotfi
mehdi lotfi

Reputation: 11571

You must remap your TFS database before config your accounts.

Please see following links

RemapDB Command

Account Command

Upvotes: 1

Related Questions