BookmarkSubscribeRSS Feed
myounz
Calcite | Level 5

Hi all,

 

I encountered a very strange issue with my install of SAS EG lately, and have been scratching my head as to what could be causing the issue. There are quite a few similar types of errors here which suggest renaming/deleting a few %appdata% config files to try and alleviate the problem, but nothing has worked. Has anyone encountered the following?

 

Symptoms include:

 

- Not being able to view my work library  (or any other library) in the servers browser.

- The following error occurs when I try to do run an import step;

 

Invalid object DNA
Root element is missing.


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

Exception Details:
----------------------------------------
Exception type: System.ArgumentException
Message: Invalid object DNA
Source: SAS.Shared
Target Site: .ctor

Stack Trace:
at SAS.Shared.DNADecoder..ctor(String dna)
at SAS.Tasks.ImportData.ImportDataModel.Run(ISASTaskTextWriter LogWriter)
at SAS.Shared.AddIns.Management.AddInProxy.Run(ISASTaskTextWriter LogWriter)
at SAS.EG.ProjectElements.EGTask.CustomJobExecutionThroughSasTaskExecution(Job job)
at SAS.EG.ProjectElements.EGTask.OnJobExecuting(Job job)
at SAS.EG.JobManagement.Job.OnExecuting(EventArgs e)
at SAS.EG.JobManagement.Job.Execute()
at SAS.EG.JobManagement.Job.HandleJobUnblocked(Object state, Boolean timedOut)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)

Inner 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.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at SAS.Shared.DNADecoder..ctor(String dna)

 

 

By the way, as I was typing this, I went into EG to get some helpful screenshots of the issue (first time running it today), and it seems to have miraculously fixed itself. I thought I would post this anyway as it would be very useful to find out what the problem could be.

 

Cheers,

 

Michael

2 REPLIES 2
Kurt_Bremser
Super User

The last section of the error message points to a problem with one of EG's xml config files. Could it be that you had two EG sessions in parallel which both updated the file and then got a garbled content back, and the file was written in a correct manner upon exit/restart?

 

If it happens again, I'd put it to SAS technical support anyway.

myounz
Calcite | Level 5

Hi Kurt, thanks so much for your response. It is a weird one - I forgo to mention that it affected our other SAS EG installs as well.

 

I wonder if it's something to do with the way our network/PC's are configured. I suspect it may have something to do with month-end on our end, but I won't be able to test this theory until the end of the month.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2 replies
  • 1585 views
  • 0 likes
  • 2 in conversation