Isolated Storage

May 4, 2009 at 1:48 AM
In windows forms I was able to
IsoStorage = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Application, null);
in the application constructor.
When I do this in a WPF application in the Application_Startup method I get an error.
Unable to determine application identity of the caller.

Is isolated storage supported in WPF? When will the application finally be identifiable to the isolated storage routines?

I also modified the app.xaml to execute these routines at
These routines never get executed. The Startup and Exit routines do get called. What else do I have to do to cause these to run?






Aug 17, 2009 at 4:35 PM

I have a similar problem with WPF.  What is weird for me is that when I run it in the debugger, via the F5 key, without breakpoints it works fine.  However if I run it outside of the debugger, via Ctrl-F5, I get the "Unable to determinde application identity of the caller" error.  If anyone is interested, I have a sample project that illustrates my issue.