I am developing a metro app in C#/XAML. I was just coding my self a simple app for uploading and downloading files to my skydrive. I have followed [this](http://babaandthepigman.wordpress.com/2012/03/17/skydrive-upload-c-metro/) article, it says to register my app [here](http://go.microsoft.com/fwlink/?LinkId=227628). Moreover I searched and found [this][http://social.msdn.microsoft.com/Forums/en-US/messengerconnect/thread/ac748f7f-f077-4bc0-a3f5-1365288f72e7] thread, then I register my app at [here][https://manage.dev.live.com/build], so login is successful but when I try to upload something I am getting "Microsoft.Live.LiveConnectException" at this line.

```
await liveConnectClient.BackgroundUploadAsync("me/skydrive", file.Name, file, OverwriteOption.Rename);

```

How can I use skydrive for my app for downloading and uploading ? I can't find any good example. I also saw [PhotoSky][http://code.msdn.microsoft.com/windowsapps/Live-SDK-Windows-Developer-8ad35141] demo app but it also throws "Microsoft.Live.LiveConnectException".