You are currently reviewing an older revision of this page.
While launching OpenPlant Modeler, Startup error text window prompts which does not allow user to move ahead and modeler needs to close OpenPlant Modeler.
OpenPlant Modeler throws error at start up. There are different cases where user will see similar error but reason for the failure to start up could be different for each case. We will discuss different cases in this article.
See Error message and image for references
Error Message in Text window:
OpenPlnat Modeler was unable to create a connection using the schema defined by the OPM_PRIMARY_SCHEMA configuration variable. The following exception was encountered: Failed to read ECSchema from ‘C:\ProgramData\Bentley\OpenPlantModelerv8i\Workspace\project\OPModeler_MMetric\Dataset\Schemas\OpenPlant_3D.01.06.ecschema.xml’.
OpenPlant Modeler will exit. While clicking ok it will display another dialog.
User need to abort the session and further not able to launch OpenPlant Modeler. There might be several issues causing this. However one of the reason has been explained below to fix it. Further based on several cases causing above error, the article will get updated if found suitable solution to it.
Below error message appears on startup of OpenPlant Modeler.
As mentioned in the error message, OPM_PRIMARY_SCHEMA parameter is null. If you check this variable in project PCF file, it's value is OpenPlant_3D.01.07 schema which is not found in the location where it is supposed to be and hence the error.
Location of this schema is derived by another configuration variable as shown below.
Below is the location where this schema should be present, but it is missing in the folder which is the reason for the above error message.In this case user had accidently moved schema to another location and hence the error.
Copy OpenPlant_3D schema back into the above location if you have backup of it.
If above problem still persist, then please create a Service Request and contact the Bentley Product Advantage group. Please include a list of all relevant details to get in depth analysis for a solution or workaround.
http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/20661.errors-logs-messages-crashes-openplant-modeler
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!