I've tried different users and authentication methods, and I've installed the latest internal build (2012.2.1317_Trial) because a post from November said you don't support 2012 in releases yet. I'm still getting this error:
[03/01 12:16:12,Telerik.TestStudio.Services.exe(1412:12),Error] LoadReporterService.FromClient_GetResultsForTest() : EXCEPTION! (see below)
Situation: Exception detected while responding to FromClient_GetResultsForTest with TestId of 1001ddb1-20da-4786-8221-60597f31795c
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
1 Answer, 1 is accepted
answered on 06 Mar 2013, 07:55 PM
I apologize for the delay getting back to you on this. The one thing I see in the stack trace that has me worried the most is this line:
Invalid object name 'dbo.Results'.
This implies that a required table does not exist. Is it possible you configured Test Studio to try and use an already existing database? If this is the case, that's the problem. Test Studio will not create its required tables if it doesn't also create the database. If Test Studio successfully connects to an already existing database it will assume that all of the tables with the appropriate columns and properties have already been created in that database. It will try to use them but fail miserably since they don't actually exist.
My recommendation is reconfigure Test Studio to use a different database name and let it create this database on its own along with all the required tables. Or delete the existing database. Test Studio will automatically recreate the database the next time the Load Reporter service is started.