Any process fails and the error message refers to invalid data or a missing property - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Problems

When a process fails, you receive an error message that refers to invalid data or a missing property. For example:

  • <Process name> provided invalid document data. <Property name> EnumEnum property in a property of document object.

  • Excel provided invalid document data. No EnumEnum property in a property of document object.

You might receive error messages like this for any process such as publishing documents, publishing a document to Excel, or creating a process case.

Possible causes

These problems occur when the value of a property in a server resx file is changed and that property is one of these data types:

  • Class definitions

  • Interface definitions

  • Enum Lists

  • EnumEnums

  • Property definitions

  • Relationship definitions

  • UoM Enums

  • Edge definitions

The value of properties of these data types must exactly match the item name in the database and component schema files.

Because properties in a server resx file are altered during the localization process, the mismatch is usually caused by translation. Because item names of these data types in the database and component schema files cannot be translated, the properties in the resx files that refer to those items must not be translated.

For example, if you change this:

<data name="99999" xml:space="preserve">

<value>RefiningAndSupply</value>

</data>

To this:

<data name="99999" xml:space="preserve">

<value>RaffinierenUndLiefern</value>

</data>

Processes that rely on data name 99999 will not complete, and you will receive an error message.

Solution

Repeat the localization process for the server resx files, making sure that none of the following data types are translated. For instructions, see Generate localization resource files.

  • Class definitions

  • Interface definitions

  • Enum Lists

  • Methods

  • EnumEnums

  • Property definitions

  • Relationship definitions

  • UoM Enums

  • Edge definitions