Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Isolated storage quota exceede, no space to perform ope... RSS

9 replies

Last post Jun 02, 2008 06:17 PM by chrishay_uk

(0)
  • dshamim

    dshamim

    Member

    10 Points

    7 Posts

    Isolated storage quota exceede, no space to perform operation

    Mar 25, 2008 09:11 AM | LINK

    Hi,

    I'm getting an exception of having not enough space to complete the operation in silverlight 2.0 beta 1 when trying to create a file on isolated storage during debugging, although I have been manually deleting the files from the isolated storage, getting the file list returns no file names, the returned remaining quota is 0. I dont understand why the quota is used up, i even used isolatedStorageFile.Remove() method to remove all isolatedStorage contents, but still getting the exception.

    For the time being I re-installed silverlight 2.0 beta 1, and increased storage quota, but I still dont understand what could have caused the quota exhaustion, although no files were there in isolated storage space ?

     any  ideas ?

     


     

    IsolatedStorage IsolatedStorageFile

    http://dimaghkidahi.blogspot.com/
  • bodyaz

    bodyaz

    Member

    6 Points

    4 Posts

    Re: Isolated storage quota exceede, no space to perform operation

    Mar 25, 2008 10:23 AM | LINK

    Try it:

    using (var store = IsolatedStorageFile.GetUserStoreForApplication())

    {

    // Request 5MB more space in bytes.

    Int64 spaceToAdd = 5242880;

    Int64 curAvail = store.AvailableFreeSpace;

    // If available space is less than

    // what is requested, try to increase.

    if (curAvail < spaceToAdd)

    {

    // Request more quota space.

    if (!store.TryIncreaseQuotaTo(store.Quota + spaceToAdd)){

    ....

    ....

    }

    }

    }

  • GuinnessKMF

    GuinnessKMF

    Member

    222 Points

    58 Posts

    Re: Isolated storage quota exceede, no space to perform operation

    Mar 25, 2008 07:26 PM | LINK

    According to Wilco Bauer's blog (http://www.wilcob.com/Wilco/Default.aspx); "Finally, while isolated stores are shared per application, quotas are shared per domain. This is done in anticipation of a configuration dialog we will likely be adding in a future build."

     Is it possible that your using up all of the space for the domain you are testing, and not the application?

    -Kellen
  • dshamim

    dshamim

    Member

    10 Points

    7 Posts

    Re: Re: Isolated storage quota exceede, no space to perform operation

    Mar 26, 2008 08:03 AM | LINK

     mm... no, I'm working on an independent project. I don't have any other app on my system that is using isolated storage

    http://dimaghkidahi.blogspot.com/
  • dshamim

    dshamim

    Member

    10 Points

    7 Posts

    Re: Re: Isolated storage quota exceede, no space to perform operation

    Mar 26, 2008 08:06 AM | LINK

    your suggestion would increase the quota, my problem is that why is the space running out ? i can keep increasing the quota and keep the application working. But that wouldnt be the solution

    http://dimaghkidahi.blogspot.com/
  • WPCoder

    WPCoder

    Member

    116 Points

    24 Posts

    Re: Re: Isolated storage quota exceede, no space to perform operation

    Mar 26, 2008 05:09 PM | LINK

    Have you tried looking at the actual isolated store files on the file system to see if there's any oddities you can spot?

    If you set a break point and look at the isoStore.m_StorePath field in the debugger, it contains the path to the storage.

    If you delete the folder manually, does the problem return?

    --------------
    WiredPrairie Blog
  • dshamim

    dshamim

    Member

    10 Points

    7 Posts

    Re: Re: Re: Isolated storage quota exceede, no space to perform operation

    Apr 08, 2008 04:08 PM | LINK

    well, I did locate the folder and checked it out earlier, it didnt have any files, I didnt try removing the folder though.

    well currently, someone else in the team is completing the implementation, I experienced the problem just once. I didnt experience it after re-installation though

    http://dimaghkidahi.blogspot.com/
  • elaiperumal

    elaiperumal

    Member

    38 Points

    4 Posts

    Re: Isolated storage quota exceede, no space to perform operation

    Apr 10, 2008 09:54 AM | LINK

    Hi,

    In silverlight 2.0 default size of Isolated storage is 100kb and you can increase it to unlimited.  For more details about Isolated storage in silverlight 2.0  please visit http://www.wilcob.com/wilco/News/isolatated-storage-in-Silverlight.aspx

    Thanks,

    Elai

     

     

  • thomasvsundert

    thomasvsundert

    Member

    9 Points

    17 Posts

    Re: Isolated storage quota exceede, no space to perform operation

    Jun 02, 2008 04:31 PM | LINK

     Hi,

    I'm also experiencing this exception ("There is not enough free space to perform the operation."). I get it when I call IsolatedStorageFile.GetUserStoreForApplication(), so I don't think the available space has anything to do with it.

    Any solutions or might I be experiencing a bug here?

    Thomas 

  • chrishay_uk

    chrishay_uk

    Participant

    876 Points

    213 Posts

    Re: Re: Re: Re: Isolated storage quota exceede, no space to perform operation

    Jun 02, 2008 06:17 PM | LINK

    Here is some articles i did on Isolated Storage which might help.

    They explain exactly in detail, how the isolated storage works:

    http://silverlightuk.blogspot.com/2008/04/isolated-storage-quotadat.html

    http://silverlightuk.blogspot.com/2008/04/isolated-storage-useddat.html

    Thanks

    If this has answered your question, please hit the Mark as Answered thingy.

    http://silverlightuk.blogspot.com/