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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 10289 views
  • 1 like
  • 4 in conversation