I had the same problem and it was a directory path.
This code worked to write to a file.
IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication(); var folder = ApplicationData.Current.LocalFolder; string folderfilename = folder.Path + "\\" + fileName; try { StreamWriter writeFile = new StreamWriter(new IsolatedStorageFileStream(folderfilename, FileMode.OpenOrCreate, myIsolatedStorage)); writeFile.WriteAsync(content); writeFile.Close(); } catch (Exception ex) { }
source share