title: How can I change my connection string to point to SQL Server instead of SQLEXPRESS?
body: <p>created a project with Web Developer Express 2012 using SQLEXPRESS as the database.  I’ve deployed to a shared hosting site and I’m trying to use the connection string provided to me.  I was given this:  </p>
  
  <pre><code> Data Source=tcp:TheDatabase.com;Initial Catalog=TheNameOfTheDatabase;User      ID=Username;Password=******;Integrated Security=False; 
  </code></pre>
  
  <p>Here is how I’m using it:</p>
  
  <pre><code> &lt;connectionStrings&gt;
     &lt;add name="ApplicationServices"
      connectionString="Data Source=. TheDatabase.com;Initial Catalog= TheNameOfTheDatabase;User ID=Username;Password=******;Integrated Security=False; ;User Instance=true"
      providerName="System.Data.SqlClient" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>I get this error message:</p>
  
  <p>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: 26 - Error Locating Server/Instance Specified)</p>
  
  <p>All the research I did points to my connection string trying to access an instance of SQLEXPRESS only I don’t see any where in my string where this is happening.  How do I make it point to SQL Server instead of SQLEXPRESS?</p>
  
  <p>Is there somewhere else in web.config that may need changing?</p>
  
  <p>I know this would be easy to fix if I could use IIS to manage the database but my ISP is blocking port 1433 and I can’t connect directly to the site’s database.  Very frustrating.</p>
  
  <p>UPDATE"
  I think my problem is in the Computername/Instance section of the string.  Can someone please tell me which part of my string would be the computername and the server instance?  On my local machine it is MyPcName/SQLEXPRESS or .\SQLEXPRESS.</p>
  
  <p>UPDATE:  Ok got an update from the winhost forum.  I shouldn't be using the server_name/Instance_name anyway so I am at a lost.</p>