Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | OpenPlant | PlantWise
AutoPLANT | OpenPlant | PlantWise Wiki StartUp Error-Launching OpenPlant Modeler
    • Sign in
    • -AutoPLANT | Bentley Raceway and Cable Management | OpenPlant | PlantWise Wiki
      • -OpenPlant
        • +CONNECT Services - OpenPlant
        • +Example Configuration - CONNECT Edition
        • +Installations - OpenPlant CONNECT Edition Applications
        • +OpenPlant Download Links & Videos
        • OpenPlant Product Compatibility
        • +OpenPlant Modeler CONNECT
        • +OpenPlant PID CONNECT
        • +OpenPlant Isometrics Manager CONNECT
        • +OpenPlant Orthographics Manager CONNECT
        • +OpenPlant Support Engineering CONNECT
        • +OpenPlant Project Administrator CONNECT
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • -OpenPlant Modeler v8i
          • +Component - OpenPlant Modeler
          • +Drawing Generation- OpenPlant Modeler
          • -Errors, Logs, Messages, Crashes - OpenPlant Modeler
            • "Failed to Find Cell Library for Diagram" Error While Placing Equipment
            • "No Component Found With Initial Selection From Specs" Appears While Placing Component
            • Attach OpenPlant Modeler Objects in ProSteel
            • Deleting User Data Files Local and Roaming
            • Duplicate Key Tags Message in OpenPlant Modeler
            • Graphics Issue- Distorted graphics- Display Graphics in OpenPlant Modeler
            • How To Fix "Unable to Load Schema For StressApp" Error in OpenPlant Modeler
            • Invalid Catalog Selected Issues in OpenPlant Specification Generator
            • Invalid Joint Error while Validating Joint for Custom Components
            • Line 241 Error-Launching OpenPlant Modeler
            • Property is Read Only Error in OpenPlant Modeler
            • Selected Spec is Incompatible With the Current Project
            • +Spec Validation Report Error: Some Properties in Spec Do Not Match in Component
            • Standard Preferences Dialog Disappeared from OpenPlant Modeler
            • StartUp Error-Launching OpenPlant Modeler
            • Structural Synchronizer Engine Not Found Message when Selecting Repository from Structural tab
            • Tap Port Connection On Blind Flange Placement Issue
            • To Fix Incorrect Property Update while using AutoMatch Option
            • To Fix Joint Connection Error While Modeling Component
            • To Fix Missing Ports Information for PIPE_ELBOW_5_DEGREE in OpenPlant Modeler
            • To Fix Pro Steel Models Referenced in OpenPlant using Object Enabler
            • To Fix Support Rotation Issue By Manual Rotation or By placing supports using OpenPlant Support Engineering .
            • To Fix Unhandled Exception Error while Launching Pipeline Manager in OpenPlant Modeler V8i
            • To Fix Unhandled Exception Error “Index was outside the bounds of the array”
            • Too Many Results (XXXX).Select this to see items in details
            • Unable to Delete Corrupt Component in OpenPlant Modeler
            • Unable to Find Catalog Issue in OpenPlant Specification Generator
            • Wafer Joint on Components with Different Facing and Rating Shows Error While Placement
          • +Import/Export- OpenPlant Modeler
          • +Installation - OpenPlant Modeler
          • OpenPlant HVAC-OpenPlant Modeler
          • OpenPlant Modeler [FAQ]
          • +OpenPlant Specification Generator
          • +ProjectWise - OpenPlant Modeler
          • +Properties - OpenPlant Modeler
          • +Release Notes - OpenPlant Modeler
          • +Schema - OpenPlant Modeler
          • +Settings/Attributes - OpenPlant Modeler
          • +Structural Modeling Components (SMC)- OpenPlant Modeler
          • +Tasks - OpenPlant Modeler
          • +Training - OpenPlant Modeler
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • +OpenPlant PID v8i
        • +OpenPlant Orthographics Manager v8i
        • +OpenPlant Support Engineering v8i
        • +OpenPlant ModelServer v8i
        • +OpenPlant Reporting v8i
        • How to Connect with Bentley Technical Support Team using Microsoft Teams
        • How to Connect with Bentley Technical Support Team using Microsoft Teams via Browser
      • +Bentley AutoPLANT
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
    • How to Associate the Specification Based on Service in OpenPlant Modeler Connect

     
     Questions about this article, topic, or product? Click here. 

    StartUp Error-Launching OpenPlant Modeler

    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

    Overview

    While launching OpenPlant Modeler, Startup error text window prompts which does not allow user to move ahead and modeler needs to close OpenPlant Modeler. 

    Problem Description

    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.

    Case 1

    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. 

    Steps to Resolve

    1. In the case above, Launch Bentley class Editor and open the above described schema which is creating a problem.

    2. Open “OpenPlant_3D.01.06.ecschema”.

    3. It will display below error, which was creating a problem. See below image.



    4. With the reason explained in dialog, it is clear that some property defined on some class do not have correct datatype and thus conflicting the property which is existing at its parent class.

    5. Navigate to schema folder.

    6. Open “OpenPlant_3D.01.06.ecschema” using Notepad.

    7. Search for NOMINAL_SIZE. See image below.



    8. Rename it to any Name, Say NOMINAL_SIZE1 here. See image below.



      Note - Alternatively user can also change the typeName to "string" and fix the issue.

    9. Save & Close file.

    10. Launch OpenPlant Modeler & verify Result. It should allow the application to open. 

    11. Using Class Editor, it will allow user to open Schema and thus change the datatype for defined property or use different Property Name. 

    Case 2

    Below error message appears on startup of OpenPlant Modeler.

              

    Reason

    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.

    Steps to Resolve

    Copy OpenPlant_3D schema back into the above location if you have backup of it.

    Case 3 - Managed Workspace

    When OpenPlant Modeler is launched through ProjectWise managed workspace, below error message appears.

              


    Settings to Check

    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.

    1. In ProjectWise Administrator, check if below variables are defined correctly in Project CSB. These variables should be pointing to the schema folders as shown below.



    2. Check below variable in the Project CSB if it is defined correctly.



    3. Check the managed workspace associations attached to the file being opened from ProjectWise Explorer.



    4. Check the schema folder if OpenPlant_3D schema exists in ProjectWise Explorer.

    Once all the above settings are corrected it should launch the application without any error.

    Case 4

    Launching OpenPlant Modeler from desktop returns below error.

              

    Reason

    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.

              

    Steps to Resolve

    Selected the desired project from the list and the DGN file to open.

              

    Still a Problem?

    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. 

    See Also

    Comments or Corrections?

    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!

    • OpenPlant Modeler
    • OPM
    • startup error
    • OPM_PRIMARY_SCHEMA
    • 08.11.09.XXX
    • 08.11.11.XXX pw
    • Primary Schema
    • OpenPlant_3D
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Tue, Mar 8 2016 2:31 AM
    • Rahul Kumar Last revision by Bentley Colleague Rahul Kumar
    • When: Tue, Aug 22 2017 6:13 AM
    • Revisions: 9
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies