title: VB.NET - Unable to connect to Named Instance on Networked Server
body: <p>Hopefully i am just having a brain freeze, however in my VB.NET project i am unable to get a connection to the Named Instance on the networked Server from my workstation.</p>
  <p>I am able to connect to this instance via SSMS and create ODBC Links with no issue from my workstation. If i publish the solution and run it on the Server itself is works fine, therefore the connection string is fine. I am able to connect to the default instance on the server no issue (this is used within the same solution).</p>
  <p>Just to confirm this is the code for the connection string::</p>
  <pre><code>Public varLSConn As String = &quot;Data Source=&quot; &amp; varLSServer &amp; &quot;;Initial Catalog=&quot; &amp; varLSDatabase &amp; &quot;;User Id=&quot; &amp; varLSUser &amp; &quot;;Password=&quot; &amp; varLSPassword &amp; &quot;;&quot;
  </code></pre>
  <p>Is there a setting within the Instance i need to allow so my VB program can gain access?</p>
  <p>Many Thanks in advance
  Martin</p>