|
Hye EveryOne,
I m working in Windows Phone 7,
and i have build an Application in which i m using SilverlightPhone Database
In my app, user can create an account where he/she can add name, some basic informations and can add some image or audio recording files as well.
Now when i add, these files and if the size gets more than 8/9 Mb, the App doesn't save the account information and crashes.
And if i again tap on the icon, and starts it again, then it again crashes.
since the Database is created in IsolatedStorage and thus, i tried-
IsolatedStorage.IncreaseQuotaTo(neededStorage);
as said in this-
http://blogs.silverlight.net/blogs/msnow/archive/2008/07/17/tip-of-the-day-20-how-to-increase-the-isolated-storage-quota-for-your-app.aspx
(where neededStorage is a long variable and neededStorage = 1024*1024*5;)
It gives System.Exception which says - "An Error Occured While Accessing IsolatedStorage."
Why is it happening..??
Is i m missing something.
Please reply, as its really important.
Thanks in advance.
|