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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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