Stream not readable?


Have tried both dumpURLs and Simple Viewer console and both get the above error message.
Using XP - any ideas..?

file attachments


mikeplate wrote Aug 12, 2010 at 7:37 AM

Sorry, I can't think of any obvious cause for such an error. The usage of WebDAV for SkyDrive has been severely limited since only Office document type files are allowed over WebDAV (docx, xlsx etc).

gauravnandwani wrote Oct 12, 2011 at 5:34 AM

Hi PinkMoon

Are you behind a proxy. I got the same error and that was because of the Proxy.
Add the below code in MainWindow.xaml.cs in MainWindow() constructor just after InitializeComponent();

System.Net.IWebProxy iProxy = System.Net.WebRequest.GetSystemWebProxy();
iProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
System.Net.WebRequest.DefaultWebProxy = iProxy;

This will force the application to use the default proxy as defined in IE and should solve the issue.

wrote Oct 12, 2011 at 5:53 AM

gauravnandwani wrote Oct 12, 2011 at 5:53 AM

Hi Mike

I like to use applications without having to install them, especially the .Net applications. Thanks to Daniel Chambers (http://www.digitallycreated.net/Blog/61/combining-multiple-assemblies-into-a-single-exe-for-a-wpf-application) this is now easily possible for WPF as well. I took liberty of:
  1. Modifying your code accordingly, plus the change for Proxy mentioned in my comment earlier.
  2. Changing image .\SkyDriveSimpleViewer\Properties\SkyDrive.png to icon using a free converter
  3. Assign converted icon that as application icon.
  4. Rebuilding the application for my personal use.
Please find attached the new application. I'm happy to send you updated code if you like.

wrote May 3, 2012 at 8:00 PM

wrote Feb 21, 2013 at 11:09 PM