title: Best way to connect to SQL Server 2012 remotely from a C# app
body: <p>I'm writing a simple C# program and want to use an SQL server to store entries from a few users.  It works fine locally but I haven't been able to connect using TCP.  I setup remote connections and enabled TCP in the config manager.  I keep getting this error.</p>
  
  <blockquote>
    <p>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: 26 - Error Locating Server/Instance Specified)</p>
  </blockquote>
  
  <p>My connection string is</p>
  
  <p>"Data Source=127.0.0.1\WEBSTORAGE;Network Library=DBMSSOCN;Initial Catalog=Characters;User Id=userid;Password=password;"</p>