Problem Note 41583: The error "Invalid object DNA" occurs when you run migrated projects in SAS® Enterprise Guide® 4.2
When a SAS Enterprise Guide 4.1 project that contains Import Data tasks that import text files is migrated to SAS Enterprise Guide 4.2, the following error could occur:
Error Message:
SAS Enterprise Guide has encountered a problem and needs to close. We are sorry for the inconvenience.
--------------------------------------------------------
System.ArgumentException
Invalid object DNA
------------------------------ Technical Information Follows ------------------------------
System.ArgumentException: Invalid object DNA ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
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)
--- End of inner exception 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.ProjectElements.SubmitableElement.HandleJobExecuting(Object sender, EventArgs e)
at SAS.EG.JobManagement.JobSequenceManager.OnExecuting(EventArgs e)
at SAS.EG.JobManagement.JobSequenceManager.HandleJobExecuting(Object sender, EventArgs e)
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._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Object state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_f(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
------------------------------ End of Technical Information ------------------------------
The problem might be related to missing extensions on the files that are being imported. As a workaround, you can recreate the import data tasks in SAS Enterprise Guide 4.2 project.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista for x64 | 4.2 | 5.1 | 9.2 TS2M0 | 9.3 TS1M0 |
*
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: | high |
Date Modified: | 2010-12-23 12:23:54 |
Date Created: | 2010-11-12 13:24:26 |