Search code examples
tfstfsbuildtfs-2012

cannot delete builds in tfs 2012


I am trying to delete some build definitions for a specific range of time by using tfsbuild delete command. After waiting for about 3 hours I get the error message:

Unexpected end of file. Following elements are not closed: InformationField, Fields, BuildInformationNode, Information, BuildDetails, Builds, BuilQueryResult, QueryBuildsResult, QueryBuildsResponse, Body, Envelope. Line1, position 1240.

Does anybody know what could be the problem? Other builds are deleted successfully in the same collection.


Solution

  • I started deleting build by a very small range (10 days interval, for example: 2014-12-01 till 2014-12-10). We have a long history for these builds, it will take quote a lot time, but at least it works. So probably the problem was that sending request to tfs server was too large.