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 ErrorError Message: Root element is missing.TargetSite: Void Throw(System.Exception)DeclaringType: System.Xml.XmlTextReaderImplAttributes: privateMemberType: 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)
"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.
This procedure is usually helpful if the error occurs at startup.
Close the software.
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.
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 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.