BookmarkSubscribeRSS Feed
frupaul
Quartz | Level 8

Hi Everyone,

I encounter this problem when I start SAS Enterprise guide on for academics saying it has encountered a problems and has to close. The exact image of the message has been attached. And when I deep deeper to get more details on the problem I get this:

'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.


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

Exception Details:
----------------------------------------
Exception type:  System.Xml.XmlException
Message:         '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
Source:          System.Xml
Target Site:     Throw

Stack Trace:
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   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.Load()
   at SAS.EG.Options.EGOptions.get_Instance()
   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)

 

Does anyone know what I could do to fix this?

Thanks,

 

 


Capture.JPG
4 REPLIES 4
Kurt_Bremser
Super User

One of your configuration XML files seems to be corrupt. You find them in %appdata%\Roaming\SAS\EnterpriseGuide\version.

If nothing else helps, rename EnterpriseGuide to something else and start EG.

frupaul
Quartz | Level 8

Hi KurtBremser,

Thanks for your response. By renaming do I just need to right click and rename?

 

If it might help, I did some updates last night. And as soon as the updates were over, I could not open my SAS EG.

 

Will it work it i uninstall and reinstall my SAS EG?

Thanks

CaseySmith
SAS Employee

The error in the callstack points to a format issue in your options file (ex. %appdata%\SAS\EnterpriseGuide\7.1\EGOptions.xml).  Renaming the EnterpriseGuide directory (in %appdata%\SAS\) as Kurt suggested will do the trick, but if you want to be more surgical, renaming the EGOptions.xml file in that directory (a new one will get created with the default options) should also resolve the issue.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

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
  • 4 replies
  • 4173 views
  • 1 like
  • 3 in conversation