Problem Note 58672: The error "Root element is missing" might occur when you are opening SAS® Enterprise Guide®
You might receive the following error message and stack trace when you open SAS Enterprise Guide:
Exception Details:
----------------------------------------
Exception type: System.Xml.XmlException
Message: Root element is missing.
Source: System.Xml
Target Site: Throw
Stack Trace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at SAS.EG.Options.EGOptions.DeserializeOptions(String fileName)
at SAS.EG.Options.EGOptions.Load()
at SAS.EG.Options.EGOptions.get_Instance()
at SAS.EG.ProjectElements.ProjectCollection.SetDataModelOptions()
at SAS.EG.MainForm.LoadOptions()
at SAS.EG.MainForm..ctor()
at SAS.EG.App.Startup(String[] args)
at SAS.EG.App.Main(String[] args)
at SAS.EG.EntryPoint.Main(String[] args)
This error is typically indicative of a corrupted SAS Enterprise Guide profile. To resolve the issue, re-create the profile by following these steps:
- Close any open instances of SAS or SAS Enterprise Guide.
- Open a Windows Explorer window and enter %APPDATA% into the address bar at the top and hit Enter (this will resolve the APPDATA Windows environment variable to the path set).
- Locate the folder titled SAS and rename it SAS_old.
- Restart SAS Enterprise Guide (the error should no longer occur).
- Close SAS Enterprise Guide.
- Again navigate to %APPDATA% and open the SAS_old folder.
- Copy the MetadataServerProfiles directory into the new C:\Users\your-user-ID\AppData\Roaming\SAS directory (overwrite the new MetadataServerProfiles directory). This step ensures that the existing connection information is still available.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Windows 7 Ultimate x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Professional x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Windows 7 Enterprise 32 bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2008 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 10 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise 32-bit | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 7.11 | 8.1 | 9.4 TS1M2 | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2021-03-02 14:32:52 |
Date Created: | 2016-07-26 11:40:09 |