title: FileOpenPicker PickSingleFileAsync throws UnauthorizedAccessException
body: <p>The following code is almost verbatim from the MSDN example for the <a href="http://msdn.microsoft.com/library/windows/apps/BR207847?cs-save-lang=1&amp;cs-lang=csharp#code-snippet-1" rel="nofollow">FileOpenPicker</a> class.</p>
  
  <pre><code>FileOpenPicker picker = new FileOpenPicker();
  picker.ViewMode = PickerViewMode.Thumbnail;
  picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
  picker.FileTypeFilter.Add(".png");
  picker.FileTypeFilter.Add(".jpg");
  picker.FileTypeFilter.Add(".jpeg");
  
  StorageFile file = await picker.PickSingleFileAsync();
  </code></pre>
  
  <p>When I trigger it from a button I get the following exception from the last line:</p>
  
  <blockquote>
    <p>System.UnauthorizedAccessException<br>
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))</p>
  </blockquote>
  
  <p>I thought the idea of the FileOpenPicker in this usage was that I didn't need to ask the user for access permissions or specify any capabilities? </p>