Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8455145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:12:35+00:00 2026-06-10T12:12:35+00:00

I am creating some Load tests using VS2012. I can run the tests using

  • 0

I am creating some Load tests using VS2012. I can run the tests using a StorageType of “None”, but when I change this to a StorageType of “Database” I get the dreaded error

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 (or local machine) specifies a database that contains
the load test schema and that is currently available. For more
information, see the Visual Studio help topic ‘About the Load Test
Results Store’. The connection error was: An error occurred while
attempting to create the load test results repository schema: To
create the database ‘LoadTest2010’ your user account must have the
either the SQL Server ‘sysadmin’ role or both the ‘serveradmin’ and
‘dbcreator’ roles

I have created a database on a non local copy of SQL called LoadTest. When I test the connection from the SQL Tracing Connect String dialog I get a success.

I have created a SQL user that has the Server Roles of dbcreator, public, serveradmin and sysadmin. The user has a User Mapping to the LoadTest2010 database that was created from the loadtestresultsrepository.sql in the VS2012 IDE directory. On the database the user has the Database role memberships db_accessadmin, db_datareader, db_datawriter, db_owner.
In the Owned Schemas i ticked on the db_datareader, db_datawriter, db_owner and db_securityadmin howver these have now gone to a blue square instead of a tick when displayed.

So what’s going on? Is Visual studio trying to create the database or is something else the issue?

I am not using TestControllers or TestAgents I am simply using a local run.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:12:37+00:00Added an answer on June 10, 2026 at 12:12 pm

    The answer was simple. I was setting up the connection string in the “SQL Tracing Connect String” instead of clicking the little “Manage Test Controller” icon at the top of my load test window and setting up the connection string from there.

    Now I’m off to remove some of those superfluous permissions I created on that SQL user 🙂

    Edit:

    enter image description here

    The SQL Connection String is NOT stored in the loadtest files. The setting seems to be PC specific so I had to change it on the build server – in one loadtest file (address.loadtest) as shown, then all the other loadtests adopt the same connection string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a custom ViewController. This VC needs to load some data that is
I'm creating some basic OO scripts using MySQLi and getting an Undefined Method error
I am creating some PDF reports using iText in Java. According to the requirements,
I'm creating some restful apis. There is a register api, user can POST an
We've setup some different load tests and need to generate/send the result pr. e-mail,
Am creating an xml file using xmlwriter,i thought it works fine but when i
I've made test Program for some Sharepoint WSS3 features but I have run into
I'm creating a website where I'm doing ajax requests to load some dynamic content
I am creating some action script to simulate 3 button states and load in
I am creating some CALayers and transforming them using CATransform3D using imageLayer.frame = CGRectMake(-22.0f,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.