Skip to main content

Microsoft Silverlight

Answered Question Isolated Storage IncreaseQuotaTo Localization BugRSS Feed

(2)

ChristianSorensen
Christia...

Member

Member

1 points

7 Posts

Isolated Storage IncreaseQuotaTo Localization Bug

I'm currently working on a big project that requires the use of the Isolated Storage. This to avoid downloading several megabytes of data every time the application is launched from within the browser.

But I have a serious problem...

To increase the size of the available Isolated Storage space i use the IncreaseQuotaTo method from within a Button click event. This works perfectly on my English Vista version, showing me the message box which asks me for permission to adjust the cache size.

But, when I go to the same server and the same application on a Swedish version of Vista or XP (I have tried it on other computers and a fresh XP SWE on virtual machine, with the same results) the message box does not show... instead the IncreaseQuotaTo method instantly return false, no exceptions or anything.

I really need to get my hands on a fix or work around for this problem, please help!

StefanWick
StefanWick

Contributor

Contributor

2864 points

438 Posts

Microsoft
Answered Question

Re: Isolated Storage IncreaseQuotaTo Localization Bug

Yes, this is unfortunately a known bug that shipped in Silverlight 2. It repro's on machines that have a display language set to one of the languages that Silverlight has not been localized to.

There is no known workaround for this at this point (other than changing your display language to one of the localized languages).

We are aware of the problem and are working on a solution.

Thanks, Stefan Wick

Microsoft Silverlight | http://blogs.msdn.com/swick/

ChristianSorensen
Christia...

Member

Member

1 points

7 Posts

Re: Isolated Storage IncreaseQuotaTo Localization Bug

Okey, thanks for your quick answer.

I know it's a difficult question, but is there a ETA for this fix? It would be good to know if a fix is expected this year. If not we probably have to look around for other techniques in our project. This would be sad because we really like the Silverlight technology and what's capable of...

StefanWick
StefanWick

Contributor

Contributor

2864 points

438 Posts

Microsoft

Re: Isolated Storage IncreaseQuotaTo Localization Bug

I can't give you an ETA for the availability of the fix yet. I'l keep this thread updated once there is more data we can share.

I want to point out, though, that your app should account for the fact that IncreaseQuotaTo() may return false anyway, because users may deny the request (or may not have sufficient hard drive space). The app should then resort to on-demand download of the assets when the quota is reached.

So basically you would write your app the same way, regardless of the bug - and it will just work better for more users, once the fix gets deployed.

Thanks, Stefan Wick

Microsoft Silverlight | http://blogs.msdn.com/swick/

StefanWick
StefanWick

Contributor

Contributor

2864 points

438 Posts

Microsoft

Re: Isolated Storage IncreaseQuotaTo Localization Bug

Hi ! 

The fix for this bug is now available in the SL2 GDR. Users can get it today by installing Silverlight from http://www.microsoft.com/silverlight/. It will take a few more days for the update to become available on Microsoft Update.

Thanks, Stefan Wick

Microsoft Silverlight | http://blogs.msdn.com/swick/
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities