"Data access entity removed" occurs in my application

Solution Number: 1247
Title: "Data access entity removed" occurs in my application
Platform:
Versions: 5.4
Categories: Error Messages
Keywords:

Problem Description

When running my application, I get the error "Data access entity removed".

Solution

If a node is removed, Data Access to the node becomes invalidated. In general this error occurs if nodes used in Data Access are explicitly removed by an application. If the application design depends on node removal, use the methods to programmatically access node properties rather than Data Access.

A special case when this error occurs is when Data Access is used to access properties of a nonedited Solver Sequence and when using the Study node to compute the model. After computing, any attempts to use the Data Access will result in the "Data access entity removed" error.

A workaround for this case is to use the Solver Sequence node to compute the model instead of the Study node.


Disclaimer

COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.