Skip to main content

Failed to queue test run in Visual Studio 2010

After creating some coded UI tests,  I queued these tests to run locally on my machine. But instead of running the tests, the test run failed with following error message:

Failed to queue test run 'XXXXX 2010-01-7 20:41:17': Agent service cannot start the agent process on agent 'XXXX'.

No idea what causes this error, but after closing and restarting Visual Studio the tests were running fine.

Strange?!