Desktop productivity for business analysts and programmers

Application Error when trying to make Graphs

Occasional Contributor
Posts: 19

Application Error when trying to make Graphs

Hello guys,

I want to make a few simple graphs from my datasets but every time that I click on the Graph>Bar Chart within the dataset I am immediatedly given this message.

"Application Error: SAS Enterprise Guide has encountered a problem. We recommend that you save your work and restart SAS Enterprise Guide"

This is the technical information that SAS gives me when this happens if it is of any use:

Problem report created: Tuesday, April 7, 2015 11:07:57 AM UTC

Application Error

SAS Enterprise Guide has encountered a problem

We recommend that you save your work and restart SAS Enterprise Guide.


Exception information


End of data set reached.

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

Exception Details:


Exception type:  System.Runtime.InteropServices.COMException

Message:         End of data set reached.

Target Site:     CoCreateInstance

Stack Trace:

   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)

   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)

   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)

   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)

   at System.Windows.Forms.AxHost.CreateInstance()

   at System.Windows.Forms.AxHost.GetOcxCreate()

   at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)

   at System.Windows.Forms.AxHost.CreateHandle()

   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   at System.Windows.Forms.AxHost.EndInit()

   at SAS.EG.Tasks.BaseGraph.ChartExample.InitializeComponent()

   at SAS.EG.Tasks.BaseGraph.BarChartExample..ctor()

   at SAS.EG.Tasks.BarGraph.BarPanel.InitializeComponent()

   at SAS.EG.Tasks.BarGraph.BarPanel..ctor()

   at SAS.EG.Tasks.BarGraph.BarGraphModel.DefineView(ViewType viewType)

   at SAS.EG.Tasks.TaskSDK.TaskModel.DoDefineView(ViewType viewType)

   at SAS.EG.Tasks.TaskSDK.TaskModel.ShowView(IWin32Window Owner, ViewType PreferredView, Boolean Modal)

   at SAS.Shared.AddIns.Management.AddInProxy.ShowDialog(IWin32Window Owner, ViewType PreferredView)

   at SAS.EG.ProjectElements.EGTask.Show(IWin32Window Owner)

   at SAS.EG.MainForm.AddTask(Guid taskGuid, Element inputData, Boolean bIsWizard, String xml, String templateName, String templateNameFullPath)

   at SAS.EG.MainForm.LaunchTask(Element target, Guid taskGuid, Boolean bIsWizard, String xml, String templateName, String templateNameFullPath)

   at SAS.EG.MainForm.OnTaskClick(Object sender, EventArgs e)

   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Configuration Details


--- SAS Software ---

  SAS Enterprise Guide version:

  SAS System version: none

  SAS System Command: none

  SAS Shared Files: C:\Program Files\SASHome

  JMP Installation:

--- Current Process ---

  Current directory: C:\Program Files\SASHome2\SASEnterpriseGuide\7.1

  Command line: "C:\Program Files\SASHome2\SASEnterpriseGuide\7.1\SEGuide.exe"

  Temporary files location: C:\Users\Harry\AppData\Local\Temp\SEG7064

  Memory used: 378,068,992 bytes

  Client session type: Running on console

  Running in WOW64 (32-bit subsystem): No

  Running as a 64 bit process: Yes

--- Operating System ---

  Name: Windows 8


  Service pack: No Service Pack Installed

  .NET Runtime Version: 4.0.30319.34014 (no service pack)

  Internet Explorer version: 9.11.9600.17690

  System directory: C:\WINDOWS\system32

  Default web browser: Firefox

  MDAC version: 6.3.9600.16384

  WPF Render Capability Tier: 0x20000

--- User ---

  User name: Harry Hopla

  User ID: Harry

  Machine name: HARRYSLAPTOP

--- Active Metadata Connection Profile ---

  Profile name: SAS OnDemand for Academics Cloud


  Host name:

  Port: 8561

  Default server: SASApp

  Person name: Harry Hopla

  Authentication type: UserPassword

  Using Integrated Windows Authentication: False

  Security package: Negotiate

  Security Package List: Kerberos,NTLM

  Service principal name:

  User: zclchjh

  Password set: specified

  Save login: True

  Connected: True

--- Metadata Server Status ---

  Platform version:

  Model version: 16.01

  Server locale: en_US

  Server state: ONLINE

  Pause comment:


Installation Details


Exception while collecting installationInformation.

Value cannot be null.

Parameter name: path1

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

Exception Details:


Exception type:  System.ArgumentNullException

Message:         Value cannot be null.

Parameter name: path1

Source:          mscorlib

Target Site:     Combine

Stack Trace:

   at System.IO.Path.Combine(String path1, String path2)

   at SAS.EG.InstallInfo.InstallState.GetFileInfoForDirectory(String CategoryName, String DirectoryPath, String[] SubDirectories)

   at SAS.EG.InstallInfo.InstallState.InitInstalledItems()

   at SAS.EG.InstallInfo.InstallState.LoadFromThisMachine()

   at SAS.SharedUI.WPF.ErrorDetailsControl.LoadInstallState()

Community Manager
Posts: 2,696

Re: Application Error when trying to make Graphs

It appears that the SAS Graph ActiveX control is not installed properly on your system.  You might need to reinstall SAS Enterprise Guide, or at least that component.  You're running the 64-bit version of EG so you would need the 64-bit version of the SAS Graph Control.

UPDATE: the same symptom can occur when you don't have all of the system requirements in place, including the proper Microsoft runtime libraries.  So a complete reinstall of SAS Enterprise Guide, including the System Requirements wizard, might be the best action.

If you need help with specific steps to reinstall this piece, I recommend working with SAS Technical Support.


Occasional Contributor
Posts: 19

Re: Application Error when trying to make Graphs

Hi Chris,

Just to clarify, a complete reinstall wouldn't delete my existing projects? Thanks


Community Manager
Posts: 2,696

Re: Application Error when trying to make Graphs

No, it won't delete any work that you've saved from SAS Enterprise Guide.  Just make sure your EGP files are stored in a safe location!


Ask a Question
Discussion stats
  • 3 replies
  • 2 in conversation