필터 지우기
필터 지우기

IsolatedStorageException during writing a package from MATLAB using .NET interface

조회 수: 2 (최근 30일)
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 CenterFile Exchange에서 Call 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