Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenUtilities
  • Product Communities
OpenUtilities
OpenUtilities Wiki Error - Root element is missing
    • Sign In
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities sisNET - English
    • +OpenUtilities Substation
    • Promis.e Paths
    • -Promis.e Wiki
      • +CONNECT Edition - Promis.e
      • About Promis.e
      • +Administration Features - Promis.e
      • +APIs_VBA - Promis.e
      • +Automation Features - Promis.e
      • +Component Features - Promis.e
      • +Component Management - Promis.e
      • +CONNECT Services - Promis.e
      • +Data Manager - Promis.e
      • +Database Platform Support - Promis.e
      • +Display - Promis.e
      • +Drawing Management - Promis.e
      • +Engineering Design Considerations - Promis.e
      • Error - Object reference...General
      • +Find_Replace - Promis.e
      • Finding the Tutorial
      • -Installation_Configuration - Promis.e
        • Alert - UI Fail to delete folder
        • Anatomy of the ect.fid file
        • Application Data (per-user configuration) - Promis.e
        • AutoCAD - Previews flicker or are blank
        • Cannot uninstall software
        • Catalog cache - promis.e
        • Clean Installation
        • +Compatibility Chart - Promis.e V8i
        • Create a security certificate for password encryption
        • Creating a deployment image for Silent Install
        • Device.mdb - Promis.e
        • Distribute custom Parts Database Manager layout
        • Distributing the Setup configuration
        • Error - .MDB file in use or locked by another user
        • Error - 1603, installation failed, fatal error
        • Error - Access to the path 'C:\Users\[user name]\AppData\Roaming\Bentley\promis-e V8i(M)' is denied.
        • Error - Can not find a valid AutoCAD, fail to start
        • Error - Can not find a valid MicroStation, fail to start
        • Error - Can't Install or Find AccessDatabaseEnginex64
        • Error - Fail to load plugin
        • Error - Not enough space on drive C:\ to extract this package
        • Error - Object reference, get_IsCommandProtectionOn
        • Error - Project file is corrupt
        • Error - Refresh catalog database error
        • Error - Root element is missing
        • Error - The Microsoft Jet database engine cannot find the input table or query 'Mode'.
        • Error - UI Fail to delete folder
        • Error - Unable to find Multi-Language_UI.mdb although it exists
        • Error at Startup - AutoLoad x64.scr Can't find file
        • Error at startup - The given key was not present in the dictionary (Device.mdb)
        • Error at startup - The type initializer for ECT.ECAD.UI.ShapeManager threw an exception
        • Error at Startup - Unrecognized database format, Device.mdb
        • Error at startup - Void folder Explorer_ExplorerNodeChanged
        • Error Creating New Projects, "UpdateProjectOptionXmlToNewVersion"
        • Error on startup - Cannot modify the design of table BlkInfo
        • Error Opening Project Manager
        • File Open dialog appears at startup
        • How to download the Promis.e software
        • Macro seed file folder - promis.e
        • +Network Installation Guide
        • Program data folder - Promis.e
        • Program folder - Promis.e
        • Promise Data folder
        • Random, distorted, or extra lines appear on every DGN file
        • Select Data Folder appears at startup
        • Specify a Setup Configuration at startup
        • Startup Error: Promis.e not responding
        • Updating and Upgrading Promis.e
        • Why should I upgrade Promis.e?
      • +Interoperability - Promis.e
      • +Licensing - Promis.e
      • +Maintenance Features - Promis.e
      • +Migration - Promis.e
      • +OS Support - Promis.e
      • +Panel Layout - Promis.e
      • +Performance - Promis.e
      • +PowerPlatform Support - Promis.e
      • +Print_Publish Features - Promis.e
      • +ProjectWise Integration - Promis.e
      • Promis.e Help file
      • +Reports_Output Features - Promis.e
      • +Template Management - Promis.e
      • +Text Tools - Promis.e
      • Training FAQs
      • +Wire Numbering - Promis.e
      • +Wiring Features - Promis.e
      • +Project Management - Promis.e
      • Promis.e Title
      • Working from home with Promise.e
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

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

    Error - Root element is missing

      Product(s): Promis.e, Bentley Substation
      Version(s): through 08.11.13.140
      Environment: N/A
      Area: Installation_Configuration
      Subarea: N/A

    Error or Warning Message

    A message including the phrase "Root element is missing" appears at startup or upon certain operations such as selecting a project in Project Manager.

    Internal Error
    Error Message: Root element is missing.
    TargetSite: Void Throw(System.Exception)
    DeclaringType: System.Xml.XmlTextReaderImpl
    Attributes: private
    MemberType: Method

    Some unhandled exception messages will include a Details area that includes text such as the following:

    System.Xml.XmlException: Root element is missing.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)

    Explanation

    "Root element is missing" refers to missing items in XML code that is being read by the software.  Therefore it usually indicates a problem with an .XML file.  The software stores information in many different .XML files, so the key is finding which one is corrupt.

    How to Avoid

    First procedure to try

    This procedure is usually helpful if the error occurs at startup.

    1. Close the software.

    2. Rename the user application data folder for promis.e or the user application data folder for Bentley Substation as the case may be.  This folder contains several .XML files.  It will be recreated when the software is restarted.

    If the issue is project specific

    1. Compare the file size and/or contents of the ProjectOptions.xml file in the project's folder to those of known "good" projects.
    2. If the ProjectOptions.xml file is questionable or obviously bad, rename it and copy a good ProjectOptions.xml file into the project folder.  A file from a project that has the same project options configuration is ideal.  The seed/template project option file can also be copied and renamed to ProjectOptions.xml.

    If the issue is specific to certain symbols, families or other catalog items

    If the issue does not affect all users sharing the same catalog on the network

    1.     Close the software on the affected user's machine.
    2.     Delete the contents of the catalog cache folder.

    If the catalog is not a network catalog or the issue affects all users

    1.     Open Catalog Manager.
    2.     Right click the catalog containing the problem item(s) and select Rebuild.

    It is recommended that all users sharing the catalog close their software when a network catalog is rebuilt.  One option is to rebuild a local copy of the catalog, then replace the network catalog with the rebuilt local catalog.

    If that does not help

    If the above procedures do not help, then it is a matter of isolating the offending item.  It may be some other .XML file, or XML code stored in a database.  For example, symbol, macro, and device family information is stored as XML code in the catalog.mdb file.  Device families are stored as .XML files themselves.  Page format information exists in the project database as XML code.

    In some cases where the contents of the Program Data folder were on a network location or on a cloud content management system (e.g. Box), unsyncing and resyncing the folder resolved the issue.

      Original Author: Matt_P
    • promis.e
    • error message
    • project manager
    • Bentley Substation
    • en
    • Installation_Configuration
    • Project Management
    • Share
    • History
    • More
    • Cancel
    • Matt_P Created by Communities MVP Matt_P
    • When: Thu, Nov 7 2013 1:55 PM
    • Sarvesh Kulkarni Last revision by Sarvesh Kulkarni
    • When: Wed, Jan 23 2019 6:21 AM
    • Revisions: 8
    • 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