3

Resolved

Exception System.IO.IsolatedStorage.IsolatedStorageException when running program first time

description

Just added AdControl to a new app. First time F5 in emulator, got an exception, see below. Can not reproduce the error. Maybe good idea to try/catch the error
 
System.IO.IsolatedStorage.IsolatedStorageException: An error occurred while accessing IsolatedStorage.
at System.IO.IsolatedStorage.IsolatedStorageFile.DeleteFile(String file)
at MC.Phone.Ads.Rx.ObservableResource.CacheResource(MemoryStream toCache, String cacheKey)
at MC.Phone.Ads.Strategy.RemoteAdProviderStrategy.<ProvideNext>b__11(MemoryStreamWithOrigin mswo)
at Microsoft.Phone.Reactive.Observable.<>c__DisplayClass2782.<>c__DisplayClass27a.<Select>b__277(MemoryStreamWithOrigin x)
at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.AbstractObserver`1.OnNext(MemoryStreamWithOrigin value)
at Microsoft.Phone.Reactive.Observable.<>c__Displ

comments

mkamonster wrote Apr 19, 2012 at 8:15 AM

Thanks I will catch that exception in the next version.

wrote Apr 19, 2012 at 8:41 AM

wrote May 1, 2012 at 1:38 PM

rupert_hollom wrote May 1, 2012 at 1:47 PM

It looks likes I am getting this exception being reported by the AppHub so it appears to happen sometimes when running on actual phones.

wrote May 2, 2012 at 8:27 AM

Fixed on changeset 12365

wrote May 2, 2012 at 8:27 AM

wrote Jun 18, 2012 at 8:06 AM

wrote Feb 14, 2013 at 6:47 PM

wrote May 16, 2013 at 9:08 AM

wrote May 16, 2013 at 9:08 AM

wrote Jun 14, 2013 at 7:07 AM