title: "Could not find installable ISAM" for Jet.OLEDB at connection.Open
body: <p>Here is my Connection.cs:</p>
  
  <pre><code>public class Connection
  {
  
      public static string connectionstr = ConfigurationManager.ConnectionStrings["connectionstr"].ToString();
  
      public static OleDbConnection DBconnection()
      {
          //
          // TODO: Add constructor logic here
          //
          OleDbConnection con = new OleDbConnection(connectionstr);
          if (con.State == ConnectionState.Open)
              con.Close();
          con.Open();
          return con;
      }
  
  }
  </code></pre>
  
  <p>when i enter input values and submit, it shows error something like this,</p>
  
  <p><a href="http://imgur.com/Lfqdqd2" rel="nofollow">This</a> is the error:</p>
  
  <blockquote>
    <p>System.Data.OleDb.OleDbException`: Could not find installable ISAM</p>
  </blockquote>
  
  <p>I'm new to .NET framework and I just created login.aspx, so I don't have add any source code.</p>
  
  <p>My connection string is</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;connectionStrings&gt; 
      &lt;add name="connectionstr" connectionString="Provider=Microsoft.Jet.OleDb.4.0;Data Source=|DataDirectory|\registration.mdb;User Instance=true" providerName="System.Data.OleDb" /&gt; 
  &lt;/connectionStrings&gt;
  </code></pre>