Search code examples
c#debuggingisolatedstorage

Unable to determine application identity of the caller - works on other machines


When attempting to debug an application the code line

using (IsolatedStorageFile scope isolatedStorageFile.GetUserStoreForApplication())

is returning the exception

System.IO.IsolatedStorage.IsolatedStorageException:
'Unable to determine application identity of the caller.'

The issue is that all other developers in our team can debug the code successfully. This would mean that there is nothing wrong with the code, but that the issue is on my machine.


Solution

  • I have it working (though I don't know what was happening).

    The exception was occurring when trying to debug the application in VS2017. It runs successfully when debugging the application in VS2015.