This documentation is archived and is not being maintained.

Troubleshooting Team Foundation Server Command-Line Tools

This topic lists common issues that might occur when you use a command-line tool.

If you cannot resolve a problem after reviewing these tips and those in the individual error message topic, visit the Microsoft Technical Forums for Visual Studio Team System ( These forums provide searchable threads on a variety of troubleshooting topics and are monitored to provide responses to your questions.

If you use the TFSAdminUtil command-line utility to change the service account, you must also update the credentials for the Reporting Service data sources after you run TfsAdminUtil ChangeAccount on the TFSService account. If you do not update the credentials, you will see errors later when you try to run a report.

Symptoms of this problem include but are not limited to the following:

  • Inability to run reports after changing the Team Foundation Server service account

  • An error message: "The Report Server Web Service is unable to access secure information in the report server. Please verify that the WebServiceAccount is specified correctly in the report server config file. (rsAccessDeniedToSecureData)"

  • An error message: "An error has occurred during report processing. (rsProcessingAborted)"

  • An error message: "Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)"

  • The following procedure shows how to help resolve the problem.

To update credentials for the Reporting Service data sources

  1. Start Internet Explorer.

  2. Open http://ApplicationTierServerName/Reports.

  3. On the Contents tab, click TfsReportDS.

  4. On the Properties tab, update the User name and Password for Credentials stored securely in the report server.

  5. Repeat steps three (3) and four (4) for TfsOlapReportDS.

If you use the TfsDeleteProject /force command to delete a team project, Team Foundation Server might be unable to delete all the components of the team project. The TfsDeleteProject /force command causes Team Foundation Server to delete the team project by deleting each component including work item tracking, reporting, source control, build, Windows SharePoint Services, and SQL Server 2005 Reporting Services. If Team Foundation Server is successful in deleting each component, it returns the message Done.

If Team Foundation Server encounters a problem deleting an individual team project component, it skips that component, returns an error message, deletes the next component, and leaves the team project metadata and security settings intact.


If you do not remove all the components of the deleted team project, you will be unable to create another team project that has the same name.

The following procedure shows how to help resolve the problem.

To delete remaining team project components

  1. Review the returned messages to determine which components were successfully deleted (indicated by the message Done) and which were not.

  2. Read the error message for the component that was not deleted, and manually fix the problem reported in the error message.

  3. Rerun the TfsDeleteProject /force command.

For more information about the TfsDeleteProject command-line tool, see TFSDeleteProject.

The Team Foundation Installation wizard creates a Web site named "Team Foundation Server" in IIS. Team Foundation will not run correctly if this Web site name is changed.

If you manually change the default Web site name in IIS from its original value of "Team Foundation Server," the RenameDt command-line tool will return an error. Rename the IIS Web site “Team Foundation Server” to resolve the following error:

Cannot load connection string from web.config

For more information about the RenameDT command-line tool, see RenameDT Command.