I came across an issue where a build was stuck for days with the message:
There was no endpoint listening at http://machinename:9191/Build/v3.0/Services/Agent/282 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
When I tried to stop the build, I was shown the error:
TF215104: Failed to stop build: it did not respond to a workflow cancellation request." When I went to the build agent and tried to delete the agent, I was shown the error:
Cannot remove build agent from build controller because it is currently reserved for a build
I unregistered the build service, tried to stop the build, registered the build service again and kept repeating the steps multiple times. I finally had luck and the build was stopped.
I registered the build service again and everything was smooth.
If you have write access to the TFS Warehouse, you can delete the build agent by following the steps at http://sleepcanwait.blogspot.com/2010/07/cannot-remove-build-agent-from-build.html
There was no endpoint listening at http://machinename:9191/Build/v3.0/Services/Agent/282 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
When I tried to stop the build, I was shown the error:
TF215104: Failed to stop build: it did not respond to a workflow cancellation request." When I went to the build agent and tried to delete the agent, I was shown the error:
Cannot remove build agent from build controller because it is currently reserved for a build
I unregistered the build service, tried to stop the build, registered the build service again and kept repeating the steps multiple times. I finally had luck and the build was stopped.
I registered the build service again and everything was smooth.
If you have write access to the TFS Warehouse, you can delete the build agent by following the steps at http://sleepcanwait.blogspot.com/2010/07/cannot-remove-build-agent-from-build.html