Trying to search changeset using the command tfpt searchcs in command utility gives me TF30012 error

StackOverflow https://stackoverflow.com/questions/21290271

質問

When I try searching changeset using the command tfpt searchcs in command utility gives me the error

Tf30012: unable to connect to this team foundation server possible reasons for failure include:

  • The name, port number, or protocol for the TFS is incorrect
  • The TFS is offline
  • The password has expired or incorrect

Technical information (for administrator):

The remote server returned and error:(404) not found.

I've entered the following values in the "Server Name" and "Under Server Path" fields:

  • Server Name: http://server:8080/tfs
  • Under Server Path: $/ProjectCollectionName/ProjectName/Path/Under/Project/
役に立ちましたか?

解決

Ok, that is what I suspected.

The values you need to enter are different than you're expecting.

You should enter

  1. Not the server Uri, but the project collection uri http://server:8080/tfs/CollectionName
  2. Not the $/server/collection path, but the $/Project/path

Akin to this:

SearchCS

If you, like me, execute the tfpt searchcs from a folder that is mapped to TFS, the power tools should automatically populate these fields.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top