Applies To | ||
Product(s): | OpenPlant Modeler | |
Version(s): | 08.11.09.XXX (SS5) | 08.11.11.XXX (SS6) | |
Environment: | Windows 7/8.1/10 (64 bit) | |
Area: | Start Up | |
Subarea: | ||
Original Author: | Rahul Kumar, Bentley Product Advantage Group |
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.
When OpenPlant Modeler is launched through ProjectWise managed workspace, below error message appears.
This error could appear due to several reasons which can be resolved by checking the settings listed below. To troubleshoot the issue, full access to user is required which may include making changes through ProjectWise Administrator.
Once all the above settings are corrected it should launch the application without any error.
Launching OpenPlant Modeler from desktop returns below error.
In this case user switched from one workspace to another and as a result of that when application was launched, there was no project selected in Project field and hence the application could not find the schema.
Selected the desired project from the list and the DGN file to open.
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.
communities.bentley.com/.../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!