フィルターのクリア

IsolatedStorageException during writing a package from MATLAB using .NET interface

2 ビュー (過去 30 日間)
Bíró
Bíró 2012 年 11 月 12 日
I have a problem using .NET interface. I have written an application what uses a C# dll. The main task of this dll is writing xml files into a package. The problem is when an xml file is bigger than 8 MB, the code throws a "System.IO.IsolatedStorage.IsolatedStorageException: Unable to determine the identity of domain." exception. When this code is running as an executable it works fine.
After some investigation I found the following text:
"When any part exceeds 8MB the System.IO.Packaging API begins to use IsolatedStorage using a user/domain store as a scratch pad area. That’s great when code is running as an executable. [...] ...when COM creates the AppDomain instance it doesn’t provide any evidence so the call to create an IsolatedStorage stream fails."
In my opinion the problem is during creating AppDomain for the C# code.
Is there any solution for this problem?

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Web Services from MATLAB Using HTTP についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by