So today, like any other day I opened up my laptop to work on my Silverlight 4 project that I have been working on for over a year and I start the debugger and the application errors out on this simple line of code.

IsolatedStorageFile iso = IsolatedStorageFile.GetUserStoreForApplication();

Nothing can explain why this happens. I found a couple folks on the intertubes run into the same problem. Here and here.

In process monitor I see this happen.

I highlighted the last call my poor little Silverlight application makes before it bombs out in yellow. This, I am assuming, is the klank that is causing the IsolatedStorageException. What’s funny is a similar operation reported “SUCCESS” just a few milliseconds earlier.

This took place on my laptop running Windows 7 Ultimate but I have also seen this happen sporadically on users’ machines running Windows XP.

Anybody want to chime in on this one? I have the PML if you are interested… :-)