title: Unable to open the physical file Operating system error 32
body: <p>Well this i did the below to get the error, don't have a clue why the database connection fails.</p>
  
  <ol>
  <li><p>Create a new ASP.NET Website</p></li>
  <li><p>Add a new *.mdf database to App_Data</p></li>
  <li><p>Add some tables to it using Server Explorer in Visual Studio</p></li>
  <li><p>Right click DataBase and Copy Connection string. Insert it into WebConfig File like below</p>
  
  <pre><code>&lt;connectionStrings&gt;
      &lt;add name="DB" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\inetpub\wwwroot\gs\App_Data\db.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/&gt;
  &lt;/connectionStrings&gt;
  </code></pre></li>
  <li><p>Add some code to get the data from</p>
  
  <pre><code>selectStatement = "select * from users";
  SqlDataAdapter da = new SqlDataAdapter(selectStatement,
  ConfigurationManager.ConnectionStrings["DB"].ConnectionString);
  DataTable dtUsers = new DataTable();
  da.Fill(dtUsers);
  GridView1.DataSource = dtUsers.DefaultView;
  GridView1.DataBind();
  </code></pre></li>
  </ol>
  
  <p>and zoot you get the error</p>