ApplicationData.ClearAsync() doesn't work in Windows 8.1 Universal App
<p>I'm trying to clear the application data when user logout of the application &amp; I found ApplicationData.ClearAsync() which fits my requirement which is similar to IsolatedStorageSettings.ApplicationSettings.Clear() but it gives me an below error</p>

<p>An exception of type 'System.IO.FileLoadException' occurred in mscorlib.ni.dll but was not handled in user code</p>

<p>Additional information: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)</p>

<p>I'm not able to understand this as there is no file that I have opened or using as I'm simply using as isolatedstorage just in key value pair.</p>

<p>Kindly help me figure out how I can solve this issue. Thanks in advance</p>