title: Forcing ASP.Net to use TCP/IP to connect to SQL Server instead of named pipes
body: <p>How can I force my ASP.Net application to connect to a SQL Server using TCP/IP, not Named Pipes?</p>
  <p>I read somewhere putting &quot;tcp:&quot; in front of the server name in the connectionstring should do the trick, but it does not seem to change anything.</p>
  <h3>Edit1:</h3>
  <ul>
  <li>TCP/IP is enabled on the SQL Server.</li>
  <li>I tried Network Library=dbmssocn in the connectionstring, I still get an errormessage about named pipes: &quot;provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server&quot;</li>
  </ul>
  <h3>Edit2:</h3>
  <ul>
  <li>Turns out my problem was another hidden connectionstring used by entity framework</li>
  </ul>