Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenRoads | OpenSite
  • Product Communities
OpenRoads | OpenSite
OpenRoads | OpenSite Wiki Bentley Configuration Explorer - Critical Error in OpenRoads Designer Training and Examples WorkSpace
    • Sign In
    • -Road and Site Design - Wikis
      • -OpenRoads Designer
        • +Training
        • +Basic Settings
        • +Terrain Modeling
        • +Geometry CONNECT
        • +Model Analysis & Reporting
        • +Corridor Modeling
        • +Model Detailing
        • +Drawing Production
        • +Drainage and Utilities
        • +Survey CONNECT
        • +Civil Cells CONNECT
        • +How To Wikis
        • +Installation CONNECT
        • +ProjectWise Integration
        • -Workspace
          • +Feature Migration into OpenRoads Designer Connect Edition
          • How to create a customized network workspace environment
          • Restore Tool Setting Dialog
          • Upgrade of SS3/SS4 Civil Cells in OpenRoads Designer V10.00.00.102
          • Video: Customize tab which would be visible in every Workflows in OpenRoads Designer
          • Bentley Configuration Explorer - Critical Error in OpenRoads Designer Training and Examples WorkSpace
          • Caltrans Workspace
          • Configuring an OpenRoads Designer Workspace on a Server and on ProjectWise
          • Enable V8i Task Theme in Open Roads/Rail/Site Designer does not work and error message "No available task(s) found to populate dialog." appears in message center
          • Getting "OpenRoads Designer must be restarted to load new configuration" message when opening DGN
          • How to Define Preference Seeds for Civil Commands (command XMLs)
          • How to find the active location of your Workspace and Workset
          • How to have WorkSets in a different location from the WorkSpace
          • How to point MicroStation and OpenRoads to the same workspace configuration
          • How to set the default vertical exaggeration in the profile model OpenRoads/Rail/Site Designer
          • ORD Preferences Location
          • Setting Up Drawing Sheet Seeds Example Excel Sheet
          • Video: Adding Custom Configuration location through Manage Configuration dialog
          • Video: Changing All Workspace Fonts
          • Video: Custom Linestyle Rescaling and Fonts
          • Video: Feature Definition Wizard
          • Video: How to download any country-based dataset from the Software Download page
          • Video: Implementing the Civil Labeler Tool into your custom workspace
          • Video: Training and Examples Workspace Function Keys Explained
          • What is the cache.ucf?
          • +Workspace and Standards Development for OpenRoads Designer
        • +Troubleshooting Various Issues
        • +MX to OpenRoads Designer Equivalence Videos
        • Downgrade Civil Model
        • Remove Civil Model
        • Civil File Manager
        • Bentley Civil Québec
        • "Error reading the Feature XML File" in the Features XML To/From Excel
        • Bentley Civil User Accreditation - Program Overview
        • How to turn off display of inactive topology?
        • Migrating Project Data to OpenRoads Designer
        • OpenRoads Designer Workflow - Voice Command
        • Workspace error when working with Subsurface Utilities in OpenRoads Designer
        • Textual manipulators missing for survey data
        • Unable to Open Utility Properties for catchment areas
        • When opening a file, it closes right away
        • Downgrade DGN - Replacement utility for 'Downgrade Civil Model'
        • Download for OpenRoads Designer 10.10.01.03
        • +DWG/DXF
        • Environment ERROR in OpenRoads/Rail/Site Designer
        • OpenRoads - OpenRail - OpenSite Ideas
        • +VBAs and DLLs for Custom Functions
      • +OpenRoads ConceptStation
      • +OpenRail Designer
      • +OpenSite Designer
      • +OpenRoads Navigator Mobile App
      • +SS10/SS4/SS3 OpenRoads
      • +GEOPAK Native
      • +InRoads Native
      • +MX Native
      • +OpenRoads SignCAD

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

    Bentley Configuration Explorer - Critical Error in OpenRoads Designer Training and Examples WorkSpace

    Product(s): Bentley Configuration Explorer
    Version(s): CONNECT
    Area:  Workspace

     

    Problem:

    When using the Bentley Configuration Explorer to work with the OpenRoads Designer "Training and Examples" workspace, the Configuration Explorer issues a Critical Error : "There was a critical error raised in Training-Imperial.cfg on line Training-Imperical.cfg.  %if exists (C:\Bentley Training)"

    Solution:

    This critical error in Configuration Explorer is issued because it does not (currently) allow a space to be used in any line using an "exists" command.  For example, in the above error message, the path specified in the %if exists line is "C:\Bentley Training" which contains a space.  

    To workaround this issue, the user can define a variable which does not contain spaces to use in place of the path that does contain them on the 'exists' line of the cfg.  For example, create a variable named BENTLEY_TRAINING = Bentley Training, then use the variable on the %if exists line: %if exists (C:\$(BENTLEY_TRAINING))

    EXAMPLE:

    Old config lines:

    %if exists (C:/Bentley Training/)
      MS_DEF = C:/Bentley Training/
    %elif exists (D:/Bentley Training/)
      MS_DEF = D:/Bentley Training/
    %else
      MS_DEF = $(_USTN_WORKSETROOT)/dgn/
    %endif

     

    New config lines:

    BENTLEY_TRAINING = Bentley Training
    %if exists (C:\$(BENTLEY_TRAINING))
    MS_DEF = C:/Bentley Training/
    %elif exists (D:\$(BENTLEY_TRAINING))
    MS_DEF = D:/Bentley Training/
    %else
    MS_DEF = $(_USTN_WORKSETROOT)/dgn/
    %endif

    In this example, the folder name that contains a space "Bentley Training" is replaced with a variable name that does not contain a space "BENTLEY_TRAINING" but ultimately points to the same path after the variable is resolved.

    Note: Other configuration files will require editing as well.

    • Share
    • History
    • More
    • Cancel
    • Kevin McDonald Created by Bentley Colleague Kevin McDonald
    • When: Thu, Sep 10 2020 1:57 PM
    • Sanders Thomas Last revision by Bentley Colleague Sanders Thomas
    • When: Mon, Sep 14 2020 11:18 AM
    • Revisions: 4
    • 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

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