title: SQLite DB access using clickonce generated shortcut
body: <p>I'm using a SQLite DB in my program, and it runs without issue in VS or looking in my debug folder.  I then deploy a clickonce application and after installing it fails to access the database, the exact error I'm getting is:
  <br><br>
  <img src="https://i.stack.imgur.com/qt3oi.png" alt="SQLite Error">
  <br><br>
  Now if I go into where the clickonce application is installed and run the program from that folder it runs without issue, I only get the problem when using the shortcut generated by the clickonce application.</p>
  
  <p>Anyone have any thoughts on why?  Thanks in advance for any insight.</p>
  
  <p>Code</p>
  
  <pre><code>dbCon = new SQLiteConnection("DataSource=|DataDirectory|cubeDB.sqlite3;");
  SQLiteCommand command = new SQLiteCommand(sqlQuery, dbCon);
  dbCon.Open();
  SQLiteDataReader reader;
  try
  {
     reader = command.ExecuteReader();
  }
  catch (Exception ex)
  {
     MessageBox.Show("SQL query failed.\n" + sqlQuery + "\n" + ex.ToString(),
                      "SQL Error", 
                      MessageBoxButton.OK, MessageBoxImage.Error);
  
     dbCon.Close();
     return;
  }
  </code></pre>