title: Can't import load test results into Visual Studio 2015
body: <p>I haven't been able to store local load test results, nor import load test results from Visual Studio Online into Visual Studio 2015. I was able to do this previously, on a different machine, with Visual Studio 2013.</p>
  
  <p>The error I get can be seen here: <a href="https://i.stack.imgur.com/uLNz3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uLNz3.png" alt="error screen-shot"></a></p>
  
  <p>And the error in the event log is:</p>
  
  <blockquote>
    <p>(devenv.exe, PID 5824, Thread 59) WebLoadTestAdapter: Exception
    invoking SQL script loadtestresultsrepository.sql on SQL Server
    instance Data Source=(localdb)\v11.0;Initial Catalog=master;Integrated
    Security=True: A network-related or instance-specific error occurred
    while establishing a connection to SQL Server. The server was not
    found or was not accessible. Verify that the instance name is correct
    and that SQL Server is configured to allow remote connections.
    (provider: SQL Network Interfaces, error: 50 - Local Database Runtime
    error occurred. Cannot create an automatic instance. See the Windows
    Application event log for error details.</p>
  </blockquote>
  
  <p>I've followed instructions here (<a href="https://msdn.microsoft.com/en-us/library/ms182600(v=vs.140).aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/ms182600(v=vs.140).aspx</a>) on how to setup the load test respository, but it didn't help...</p>
  
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE&gt;SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql
  Changed database context to 'LoadTest2010'.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure LoadTestTransactionResults2, Line 2
  There is already an object named 'LoadTestTransactionResults2' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure LoadTestPageResultsByNetwork2, Line 2
  There is already an object named 'LoadTestPageResultsByNetwork2' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure Prc_QueryLoadTestPageComparison, Line 2
  There is already an object named 'Prc_QueryLoadTestPageComparison' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure Prc_QueryLoadTestTestComparison, Line 2
  There is already an object named 'Prc_QueryLoadTestTestComparison' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure Prc_QueryLoadTestTransactionComparison, Line 2
  There is already an object named 'Prc_QueryLoadTestTransactionComparison' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure Prc_QueryComputedCounterComparison, Line 2
  There is already an object named 'Prc_QueryComputedCounterComparison' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure prc_QueryForMachinesInRun, Line 2
  There is already an object named 'prc_QueryForMachinesInRun' in the database.
  Msg 2714, Level 16, State 3, Server MACHINE-NAME\SQLEXPRESS, Procedure Prc_QueryLoadTestErrorComparison, Line 2
  There is already an object named 'Prc_QueryLoadTestErrorComparison' in the database.
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  
  (1 rows affected)
  </code></pre>