开发者

Visual Studio 2010 Test Controller Load Test Database Configuration Failure?

开发者 https://www.devze.com 2023-03-27 02:58 出处:网络
I am attempting to install Visual Studio 2010 Agents for Test Controller / Test Agents so I can cr开发者_如何转开发eate Load Tests on my local machine.When attempting to install the Test Controller I

I am attempting to install Visual Studio 2010 Agents for Test Controller / Test Agents so I can cr开发者_如何转开发eate Load Tests on my local machine. When attempting to install the Test Controller I recieve the following message in the configuration summarry

Visual Studio 2010 Test Controller Load Test Database Configuration Failure?

From the installation log I found the following error messages:
The existing connection string for controller MyComputerName:6901 is {this is blank}

System.MissingMethodException: Method not found: 'Boolean Microsoft.VisualStudio.TestTools.WebStress.LoadTestDatabaseCounterWriter.IsDatabaseUpgradeFromRTMNeeded(System.Data.SqlClient.SqlConnection)'. at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.CreateAndUpgradeLoadTestSchemaIfRequired(String loadTestConnectionString, String directoryContainingSchemaFile) at Microsoft.VisualStudio.TestTools.ConfigCore.ControllerConfiguration.UpdateLoadTestDatabase(ControllerConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)

Failed to configure load test database.


Problem solved!

Briefly, only Visual Studio 2010 Service Pack 1 is missing, and a DLL doesn't contain a method that is invoked by the Test Controller Configuration Tool.

Solution: install VS 2010 Service Pack 1.
Reason: Microsoft.VisualStudio.QualityTools.LoadTest.DLL does not contain a Database checker method that is invoked by the configuration tool, so an exception is thrown, and the configuration is failing. After upgrading to SP1, the DLL updates successfully and the missing method can be found there.

0

精彩评论

暂无评论...
验证码 换一张
取 消