Load test results database could not be opened, even after fix.

I am unable to run my load tests.

"Error occurred running test. (Computer XXXXX) The load test results database could not be opened. Check that the load test results database specified by the connect string for your Test Controller...."

After some research I tried this script: SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql to re-create the local sql express database.

I was hoping that would solve my problems, but alas I still get same error. I've been using Visual Studio Test for a while with very few problems. The only change I can think of is that I changed my computer name (I'm on a domain), and now I get this error when I attempt to run any load test:

Any suggestions?

More info: WinXP Pro SP2 - VS Team Suite & VS ENAR 2k3 - Local Test Run (No Rigs) - Account is Admin

[848 byte] By [MattMaddin] at [2007-12-21]
# 1

Your old computer name is probably in the connect string. Try resetting the connect string:

Test menu | Administer Test Controllers

Select <local>

Click the ... button to set the connect string to your local SQL Express instance.

Ed.

EdGlas at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 2

You're solution explains why I was getting error messages in the "Administer Test Controllers” dialog. I had ignored them; incorrectly assuming that the "Administer Test Controllers" dialog was not for use with test run solely on the local machine.

Thanks,

-Matt

MattMaddin at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified