问题
I am trying to backup my TFS 2010 instance using the TFS 2010 Power Tools issued in March 2011.
In the verification step, I am getting an error that I do not know how to solve:
"The current username failed to retrieve MSSQL Server service account."
Can anyone help?
回答1:
The answer, in my instance, required a few things:
- As Ryan noted in the comments above, the SQL service account cannot be "Local System". Create a new user account on your domain, and then follow the instructions Ryan provided: Setting Up Windows Service Accounts.
- Change the service account for TFS from Local System to a service account on your domain. I followed these instructions: Change the Service Account or Password for Team Foundation Server.
- To configure the backup, log on using the same account as was used originally to install the TFS server instance. (I'm not sure what permissions are missing from my other administrator account)
来源:https://stackoverflow.com/questions/5262962/tfs-2010-backup-fails-with-the-current-username-failed-to-retrieve-mssql-server