Desktop productivity for business analysts and programmers

SAS Enterprise Guide 4.3 has encountered a problem and needs to close

Reply
New Contributor
Posts: 2

SAS Enterprise Guide 4.3 has encountered a problem and needs to close

Hello, 

 

When launching SAS EG 4.3, I'm getting the following error message which prevents SAS EG from starting:

 

SAS Enterprise Guide has encountered a problem and needs to close. We are sorry for the inconvenience.

--------------------------------------------------------

System.TypeInitializationException

The type initializer for 'SAS.EG.ProjectElements.MetadataHelper' threw an exception.

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

System.TypeInitializationException: The type initializer for 'SAS.EG.ProjectElements.MetadataHelper' threw an exception. ---> SAS.EG.SDS.Metadata.MetadataException: Error loading control file ---> 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 SAS.EG.SDS.Metadata.MetadataManagerV2.LoadControl()
--- End of inner exception stack trace ---
at SAS.EG.SDS.Metadata.MetadataManagerV2.LoadControl()
at SAS.EG.SDS.Metadata.MetadataManagerV2..ctor()
at SAS.EG.SDS.Model.Broker..ctor()
at SAS.EG.ProjectElements.MetadataHelper..cctor()
--- End of inner exception stack trace ---
at SAS.EG.ProjectElements.MetadataHelper.get_Broker()
at SAS.EG.SEGuide.MainForm.InitializeBroker()
at SAS.EG.SEGuide.MainForm..ctor(EGOptions startupOptions)
at SAS.EG.SEGuide.App.Startup(String[] args)
at SAS.EG.SEGuide.App.Main(String[] args)

------------------------------ End of Technical Information ------------------------------

 

Would you be able to advise how to fix this problem ?


SAS EG Issue.PNG
Super User
Posts: 5,375

Re: SAS Enterprise Guide 4.3 has encountered a problem and needs to close

Does this happens constantly or occasionally?

Do you connect to a remote SAS server, and what version of SAS do you use?

Are there other EG users on your site? How does it work for them (same versions?)

4.3 is quite old, consider upgrading to the highest version possible.

Also, consider open a track to SAS tech support.

Data never sleeps
New Contributor
Posts: 2

Re: SAS Enterprise Guide 4.3 has encountered a problem and needs to close

Hi Linus, thanks for your reply. This started to happen constantly a few months ago, but it used to work just fine before that. The SAS is installed as a standalone and therefore doesn't connect to external servers, however I had to specify server when installing SAS EM 6.2, but i simply referred it to my machine. The version of SAS that I use is 9.2. I'll try to open a track to SAS technical support, but if you have any ideas what could help, I'd appreciate that. Cheers
Contributor
Posts: 54

Re: SAS Enterprise Guide 4.3 has encountered a problem and needs to close

Hi did you get any resolution for this issue. We also started experiencing this issue recently.

SAS Super FREQ
Posts: 305

Re: SAS Enterprise Guide 4.3 has encountered a problem and needs to close

From the callstack above and inspecting our code, it appears that the SDSControl.xml file in your %appdata%\SAS\SharedSettings\v.v location (ex. C:\Users\<userid>\AppData\Roaming\SAS\SharedSettings\4.3\SDSControl.xml) file does not contain valid xml.  You can safely delete that SDSControl.xml file (it will be regenerated), which should resolve the issue.

Ask a Question
Discussion stats
  • 4 replies
  • 1058 views
  • 0 likes
  • 4 in conversation