BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Fadhel
Calcite | Level 5

Hi

I cannot run sas EG 7.1 as I used to. I got the following error message.

Could anyone helps me..

 

 

Root element is missing.


-------------------------- Technical Information Follows --------------------------

Exception Details:
----------------------------------------
Exception type: System.Xml.XmlException
Message: Root element is missing.
Source: System.Xml
Target Site: ThrowWithoutLineInfo

Stack Trace:
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
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.Read(String fileName)
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)

1 ACCEPTED SOLUTION

Accepted Solutions
ShenQicheng
Obsidian | Level 7
Maybe you should try deleting just EGOptions.xml (in C:\Users\<userid>\AppData\Roaming\SAS\EnterpriseGu​ide\7.1\).

View solution in original post

5 REPLIES 5
LinusH
Tourmaline | Level 20
What has changed since it worked?
If your site's SAS representative can't help open a track to SAS tech support could be the next step.
Data never sleeps
SASKiwi
PROC Star

Your problem looks similar to this one so I'd try the same suggestions:

 

https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Error/m-p/289717#U289717

 

Fadhel
Calcite | Level 5

unfortunitally, it did not work. 

ShenQicheng
Obsidian | Level 7
Maybe you should try deleting just EGOptions.xml (in C:\Users\<userid>\AppData\Roaming\SAS\EnterpriseGu​ide\7.1\).
Fadhel
Calcite | Level 5
thanks.. it worked

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 11108 views
  • 1 like
  • 4 in conversation