title: SQLiteException: Unable to open the database file
body: <p>I'm new to windows mobile programming and I'm trying to create a Windows Mobile 6 application using sqlite. Write now I have built a dummy test application where I try to read the contents of a an sqlite table. </p>
  
  <p>The problem is that I keep receiving SQLiteException: Unable to open the database file.</p>
  
  <p>My code is below:</p>
  
  <pre><code>using (var cn = new SQLiteConnection(@"Data Source=C:myfirsttest.s3db;")) 
          {
              try  
              {  
                  //Connect to SQLite database  
                  cn.Open();  
  
                  //Create the SQL Command  
                  var cmd = new SQLiteCommand();  
                  cmd.Connection = cn;  
                  cmd.CommandText = "SELECT * FROM MyTable";  
  
                  //Retrieve the records using SQLiteDataReader  
                  var dr = cmd.ExecuteReader();  
                  while (dr.Read())  
                  {  
                      //display records  
                      var id = dr["ID"].ToString();  
                  }  
  
              }  
              catch(Exception ex)  
              {  
  
                  //display any exeptions  
                  var except = ex.Message;   
              }  
              finally  
              {  
                  cn.Close();  
              } 
          }
  </code></pre>
  
  <p>Can anyone help me please with that? Or suggest a tutorial where I can find how to setup sqlite in a windows mobile 6 project?</p>