Export (0) Print
Expand All

View synchronization engine error messages

To help troubleshoot the integration of Visual Studio Team Foundation Server (TFS) and Microsoft Project Server, you can display a list of recent synchronization errors. You can display the most recent errors that were logged for a team project collection by using the /GetSyncMessages option of the TFSAdmin ProjectServer command-line tool.

Note Note

For information about the synchronization process, see Overview of TFS-Project Server integration features.

To run the TfsAdmin command-line tool, open a Command Prompt window where either Visual Studio or Team Explorer is installed and enter:

cd %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE

On a 32-bit edition of Windows, replace %programfiles(x86)% with %programfiles%..

Requirements

To use this command, your Administer Project Server integration permission must be set to Allow for the team project collection. Also, the service account for Team Foundation Server must be granted the necessary permissions to interact with the instance of Project Web Access or Project Web App (PWA) that will participate in data synchronization. For more information, see Assign permissions to support TFS-Project Server integration.

Syntax

TfsAdmin ProjectServer /GetSyncMessages /collection:tpcUrl

Parameter

Description

/collection: tpcUrl

Specifies the uniform resource locator (URL) of a team project collection. You specify the URI in the following format:

http://ServerName:Port/VirtualDirectoryName/CollectionName

If you do not specify a virtual directory, you specify the URI in the following format:

http://ServerName:Port/CollectionName

/? or help

Displays information about the command.

The /GetSyncMessages option displays a tab-delimited set of messages with their column headers. The following information appears for each message:

  • Date: Date when the message was logged.

  • Team Project Collection Name\Team Project Name: Names of the team project collection and the team project.

  • Project Name: Name of the enterprise project plan.

  • Message: Content of the message.

These messages are extracted from the synchronization job log. The /GetSyncMessages option truncates the messages that are much longer than average. When this truncation occurs, the following message appears:

There are additional errors that have been truncated from the log. These errors can be viewed in the event log for the application-tier server(s).

You can view the complete message by opening the event log for the corresponding application-tier server.

The following example retrieves the error messages that have been logged for DefaultCollection, which is defined on the MyTFSServer application-tier server.

TfsAdmin ProjectServer /GetSyncMessages /collection:http://MyTFSServer:8080/tfs/DefaultCollection
TipTip

You can use standard command-line syntax to send the output to a file. For example, you can specify >c:\output.txt.

Show:
© 2014 Microsoft