title: can not open the sqlite database in user-selected folder
body: <p>below is my code to open a database in a user-selected folder</p>
  <pre><code>SqliteConnection db;
  public async Task&lt;string&gt; openDatabase(String databaseFilename)
  {
  
      db = new SqliteConnection($&quot;Filename={databaseFilename}&quot;);
      await db.OpenAsync();
      return null;
  }
  //...
   
  
  
  var folderPicker = new FolderPicker();//must-use broker in UWP
  StorageFolder folder = await folderPicker.PickSingleFolderAsync();
  string encryptedUserSelectedFolderString = Windows.Storage.AccessCache.StorageApplicationPermissions.FutureAccessList.Add(folder);
  
  
  //...
  
  StorageFolder fd = await StorageApplicationPermissions.FutureAccessList.GetFolderAsync(encryptedUserSelectedFolderString);//user-selected folder
  var t = await fd.TryGetItemAsync(&quot;data.data&quot;);//sqlite in the folder
  if (t != null)  
  {
     db.openDatabase(Path.Combine(fd.Path,&quot;data.data&quot;));//this line causes app freezing
  }
  </code></pre>
  <p>it reports the error:</p>
  <blockquote>
  <p>unable to open the database file</p>
  </blockquote>
  <p>...but the same code:</p>
  <pre><code>StorageFolder fd = await StorageFolder.GetFolderFromPathAsync(ApplicationData.Current.LocalFolder.Path);  
  var t = await fd.TryGetItemAsync(&quot;data.data&quot;);
  db.openDatabase(Path.Combine(fd.Path, &quot;data.data&quot;));//open database correctly
  </code></pre>
  <p>...can open the database in <code>ApplicationData.Current.LocalFolder</code> <strong>without</strong> any problem</p>
  <p>Just wondering if there is a special requirement to open the database in the user-selected folder?</p>
  <p>--------------------------------------------------updated question</p>
  <p>my code to open a png file in the sub folder of the user-selected folder</p>
  <pre><code>Task&lt;StorageFolder&gt; folder = folderForBookmark(encryptedUserSelectedFolderString);            
  StorageFolder bbb =await folder;            
  StorageFile aaa = await  bbb.GetFileAsync(  &quot;subfolder\\1.png&quot;);            
  IRandomAccessStream fileStream = await aaa.OpenAsync(Windows.Storage.FileAccessMode.Read);            
  //*create Bitmap from filestream            
  BitmapImage bmpImage = new BitmapImage();            
  bmpImage.SetSource(fileStream);            
  //load bitmap into image-control            
  aImage.Source = bmpImage;
  </code></pre>
  <p>it works! it can load the image file</p>