TFS Build Errors -


If you happen run into below errors - 

The job has been abandoned because agent Agent1-XXXX did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service.
-Or- Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentSessionConflictException: The task agent Agent1-XXXX already has an active session for owner XXXX.

Resolution -

- Make sure VSO agent running on TFS Build server
- Restart Source control servers services (your code repository aka TFS Server) 
      -- Visual Studio Team Foundation Background Job Agent - TFSJobAgent
      -- Visual Studio Team Foundation Build Service Host 2015 - TFSBuildServiceHost.2013


Hope this resolves your issue too.

Comments

Popular posts from this blog

Windows Azure Package Build Error: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Resource ID : 1. The request limit for the database is 180 and has been reached.

Update Excel Sheet using C#, Where Excel not Installed on Server