Every time that I run load tests through Visual Studio Ultimate 2010, when I check the Microsoft Server 2008 Application Windows Logs, the following error is logged.
Error General Tab Text:
"The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
(devenv.exe, PID 5164, Thread 1) StringToVariantHelper.WriteSafeArrayToVariant: Failed to clear the variant. Exception message: Bad variable type. (Exception from HRESULT: 0x80020008 (DISP_E_BADVARTYPE))
the message resource is present but the message is not found in the string/message table"
Error Details Tab Text:
"(devenv.exe, PID 5164, Thread 1) StringToVariantHelper.WriteSafeArrayToVariant: Failed to clear the variant. Exception message: Bad variable type. (Exception from HRESULT: 0x80020008 (DISP_E_BADVARTYPE))"
(devenv.exe is the Visual Studio application, that's about all I can add to explaining this error)
Our test environment consists of
a controller on server A
a test agent on Server A
a test agent on server B
I am running the test on Server A, and I open visual studio Ultimate 2010 with Administrator privileges.
I think the window log could capture the error message when a load test met the exceptions. But we often check the test result when we run the test. For example, when we add the web tests to the load test, firstly, we could run the web tests and check the
test Results window to find the error message. Of course, sometime the web test is passed but it is failed when we run it in the load test, if so, a feature “Saving test logs” in VS2010 which makes it easier to debug problems those occur when running tests
within a load test that do not occur when running the same tests outside the load test. For detailed information, seehttp://blogs.msdn.com/billbar/archive/2009/06/09/vsts-2010-load-test-feature-saving-test-logs.aspx.
Hope it could help.