Partager via


VSTS Tester Edition : Webtest with Code Coverage Error :No connection could be made because the target machine actively refused it 127.0.0.1:80

VSTS Tester Edition 2008 :

When i ran a Webtest with Code Coverage

I got this Error :No connection could be made because the target machine actively refused it 127.0.0.1:80. I found that IIS was stopped. Started It.

Then I found that my Web.config had a additional <location> tag, after bringing it back to the previous state (I did a undo checkout).

Then It gave an error that it was not able to access the web.config (It was Checked in to TFS).

So i just did a checkout of the web.config and reran the webtest with code coverage enabled.

Wow now it runs successfully and at the end shows the codecoverage results as well.