tags:

views:

91

answers:

1

I have a Silverlight 4 application (plug... http://audioorchard.com ...end plug) that is occasionally throwing an exception in the IsolatedStorageFileStream constructor.

System.IO.IsolatedStorage.IsolatedStorageException: [IsolatedStorage_Operation_ISFS] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50524.0&File=mscorlib.dll&Key=IsolatedStorage_Operation_ISFS at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf) at AudioOrchard.Client.Utility.DiskManager.CreateNewFile(String fileName, Boolean wasDiskSpaceRequested) at... (enter's not SL runtime code here)

The url in the stack trace doesn't provide any help and neither did a google search. Where can I learn more about IsolatedStorage_Operation_ISFS and what would cause it?

A: 

Actually there is no constructor for IsolatedStorageFileStream with same parameters list:

System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)

Int32 bufferSize parameter is really excess here. Please check documentation for IsolatedStorageFileStream constructors.
I think there is some third party component which try to use non supported IsolatedStorageFileStream constructor.

zenonych
Yeah, that does seem a little odd. It seems that the stack trace is a bit misleading here. In the code I'm actually calling the constructor IsolatedStorageFileStream(String, FileMode, IsolatedStorageFile)
herbrandson