I'm attempting to use IsolatedStorage from IronPython running the browser, and I keep running into the following error. Any idea what I'm doing wrong or is this functionality currently unsupported?<div><br></div><div>
Best regards,</div><div>Dave<br><div><br></div><div>MethodAccessException: Security transparent method System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForSite() cannot access Microsoft.Scripting.Actions.Calls.MethodCandidate+Caller.Call(System.Object[], Boolean ByRef) using reflection.<br>
<div><br></div><div><div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"></div>
<div><html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"></div><div><head></div><div><script type="text/javascript"></div><div> window.DLR = { path: 'ipy' }</div>
<div></script></div><div><script src="ipy/dlr-20100305.js" type="text/javascript"></div><div></script></div><div></head></div><div><body></div><div><script type="text/python"></div>
<div>from System.IO import (FileMode, StreamWriter)</div><div>from System.IO.IsolatedStorage import IsolatedStorageFile</div><div>with IsolatedStorageFile.GetUserStoreForSite() as store:</div><div> with IsolatedStorageFileStream("test.txt", FileMode.Create, store) as stream:</div>
<div> with StreamWriter(stream) as writer:</div><div> writer.WriteLine("Testing from IPy in Browser.")</div><div></script></div><div></body></div><div></html></div></div></div>
</div>