title: Named Pipes Provider: Could not open a connection to SQL Server [53]
body: <p>I am trying to connect mssql server 2008 using jdbc connection.
  My connection url is like </p>
  
  <p>jdbc:jtds:sqlserver://localhost:1433/dbname;user=username;password=password</p>
  
  <p>However I get the above mentioned exception when I try to execute a stored procedure through prepared statement</p>
  
  <p>I have enabled TCP/IP and Named pipes.
  I have disabled firewall.</p>
  
  <p>What could be the issue.</p>
  
  <p>I found out it was because the following error occurs
  "ole/db provider returned message login timeout expired"...</p>
  
  <p>but not sure why this happens</p>