title: provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
body: <p>i am developing a web application in visual studio 2012. and i have added a database file named as Database1.mdf into App_Data folder and i have given following connection string</p>
  
  <pre><code>Data Source=(LocalDB)\v11.0;AttachDbFilename="E:\asp.net mvc\storage\storage\App_Data\Database1.mdf";Integrated Security=True
  </code></pre>
  
  <p>after that i have written the code for inserting the data but at that i am getting the error like</p>
  
  <blockquote>
    <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: Named
    Pipes Provider, error: 40 - Could not open a connection to SQL Server)</p>
  </blockquote>
  
  <p>is there any mistake in the connection string?
  Please help me in htis </p>