title: Upload a file in Onedrive exception
body: <p>I would upload a file to onedrive, I created a method for signing , i insert wl.skydrive_update scope,the problem is in the upload method generates me an exception, I call the method with a button this is the code:</p>
  
  <pre><code> private async void upload_Click(object sender, RoutedEventArgs e)
      {
          if(defaultDb != null)
          {
              try
              {
                      // Upload to OneDrive.
                 LiveUploadOperation uploadOperation = await connectClient.CreateBackgroundUploadAsync(folderId, "file.db", defaultDb, OverwriteOption.Rename);
                 LiveOperationResult uploadResult = await uploadOperation.StartAsync();
  
            }
            catch (LiveAuthException ex)
              {
               // Handle errors.
              }
            catch (LiveConnectException ex)
              {
              // Handle errors.
              }
          }
      }
  </code></pre>
  
  <p>defaultDb is a StorageFile of the files I want to load.
  folderId is the ID of the folder in OneDrive.</p>
  
  <p>this is the exception:</p>
  
  <pre><code> Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.ni.dll            
  </code></pre>
  
  <p>thank you.</p>
  
  <p>EDIT:</p>
  
  <p>the problem is in the file to be uploaded, because if I select another file with the filepicker this is successful, instead, selecting my file that is in the folder localstate of application, is not working. it is possible that the reason why I can not upload it just because it is in the folder Localstate?</p>