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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 .NET Client Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!