For what it&#39;s worth I&#39;ve just hit this problem too, but with GetUserStoreForApplication.<br><br>Michael<br><br><div class="gmail_quote">2010/3/16 Dino Viehland <span dir="ltr">&lt;<a href="mailto:dinov@microsoft.com">dinov@microsoft.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">A possible work around for this is:<br>
<br>
def f():<br>
    for i in xrange(200):<br>
        try:<br>
            return System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForSite()<br>
        except: pass<br>
<br>
After enough invocations we will no longer use reflection to call it.<br>
<br>
We just need to add IsolatedStorageFile to a black list of things that shouldn&#39;t<br>
be invoked via reflection.<br>
<div><div></div><div class="h5"><br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:users-bounces@lists.ironpython.com">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-">users-</a><br>
&gt; <a href="mailto:bounces@lists.ironpython.com">bounces@lists.ironpython.com</a>] On Behalf Of Lukas Cenovsky<br>
&gt; Sent: Tuesday, March 16, 2010 6:37 AM<br>
&gt; To: Discussion of IronPython<br>
&gt; Subject: [IronPython] IsolateStorage.GetUserStoreForApplication throws<br>
&gt; SystemError in IronPython 2.6<br>
&gt;<br>
&gt; Hi all,<br>
&gt; one cannot use IsolatedStorage in IronPython 2.6.<br>
&gt; Calling IsolatedStorageFile.GetUserStoreForApplication() throws<br>
&gt;<br>
&gt; SystemError: Application code cannot access<br>
&gt; System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForSite()<br>
&gt; using Reflection.<br>
&gt;<br>
&gt;<br>
&gt; It works fine in IronPython 2.0.2.<br>
&gt;<br>
&gt; I&#39;ve entered a bug:<br>
&gt; <a href="http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26488" target="_blank">http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26488</a><br>
&gt;<br>
&gt; --<br>
&gt; -- Lukáš<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
&gt; <a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a><br><br><br>