title: C# Connection String for a remote SQL Server database
body: <p>I have a database at my dedicated root server. I want to connect to this external database via C# with a program from my computer.</p>
  
  <p>I'm trying with that connection string, but it doesn't work:</p>
  
  <pre><code>Data Source=root_ip_adress;Initial Catalog=db_name;User Id=computername\\Administrator;Password=mypassword;
  </code></pre>
  
  <p>Remote connections are enabled in the database. </p>
  
  <p>Error :
  "Network-related or instance-specific error connecting to SQL Server The server could not be found or accessed, check that the instance name is correct and that SQL Server allows remote connections." (Provider: TCP Provider, error: 0 - Waiting process was aborted.) "</p>
  
  <p>Thanks for any help</p>