Error:”Failed to stop test. Reason: ‘There was no endpoint listening at net.pipe://localhost/CntrlService/Service…” when running a test in Performance Center

When trying to run a performance test in which a topology is defined, the test stops abnormally shortly after it has started. The following error message is displayed in the event log of the run:

"Failed to stop test. Reason: ‘There was no endpoint listening at net.pipe://localhost/CntrlService/Service that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

The topology uses SiteScope version 11.20.

To fix this issue delete all monitors and hosts that were configured in SiteScope and recreate them.