0

I try to write to Isolated Storage but get this exception. I wonder what I can be missing ?

An unhandled exception of type 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in mscorlib.dll

Additional information: Unable to determine application identity of the caller.

using namespace System::IO::IsolatedStorage;


		IsolatedStorageFile^ abc = IsolatedStorageFile::GetUserStoreForApplication();


            String^ Testfile= "Test57.txt";



                 IsolatedStorageFileStream^ a1 = gcnew IsolatedStorageFileStream(Testfile, FileMode::Create, FileAccess::ReadWrite, abc );
                 StreamWriter^ WriteFile3 = gcnew StreamWriter(a1 );

			WriteFile3->WriteLine("Hello");
			WriteFile3->Close();
2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by __avd
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.