SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
pcfriendly
Calcite | Level 5

Hi Forum,

I'm getting the below error when I try to save my projects.

I recently changed my directory but can't see why this would cause the problem.

The only thing I did was to unhide some files that weren't visible beforehand.

I can manually access the folders where the SAS Projects are kept & I have Admin level access.

What can be causing this?

Entire error below;

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

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

System.UnauthorizedAccessException

Access to the path 'C:\Users\c917348\AppData\Roaming\SAS\SharedSettings\4.3\SDSView.xml' is denied.

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

System.UnauthorizedAccessException: Access to the path 'C:\Users\c917348\AppData\Roaming\SAS\SharedSettings\4.3\SDSView.xml' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
   at SAS.EG.SDS.Views.ListView.SaveConfiguration()
   at SAS.EG.SDS.Views.ListView.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
   at SAS.Shared.FileSelectionDialogs.Filespaces.SASFilespace.Dispose(Boolean disposing)
   at SAS.Shared.FileSelectionDialogs.Filespaces.SDSFilespaceBase.Dispose(Boolean disposing)
   at SAS.Shared.FileSelectionDialogs.Filespaces.ServersFilespace.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at SAS.Shared.FileSelectionDialogs.FileDialogBase.OnClosing(CancelEventArgs e)
   at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)

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

Can anyone help?

Thanks

4 REPLIES 4
Vish33
Lapis Lazuli | Level 10

Hi,

Place the file on server and access it. I faced the same issue because i am running EG on UNIX server and trying to access windows local directory. Place the file on server some where and access it.

Regards,

Vish

pcfriendly
Calcite | Level 5

Thanks Vish & Chris,

I've run into another problem after deleting some old files.

This is causing issues before I get to the problem I stated in this post.

When running the 'Report Fonts for Clients', I'm getting the error;

The install failed to initialise for:

Report fonts for Clients.

The install says it is trying to update the 'Report fonts for Clients' but if I've deleted it, how do I reinstate it?

Thanks  

pcfriendly
Calcite | Level 5

I worked out the error for the 'Report Font for Clients'

I went into the Folders for the app & ran the uninstall file in the 'Report Font for Clients' folder.

Now I hope the other problem doesn't happen ...

ChrisHemedinger
Community Manager

Can you see the file in Windows Explorer?  Type this into the Windows Explorer address bar:

%appdata%\SAS\SharedSettings\4.3\


SDSView.xml is an internal file that EG uses to keep track of your most-recently accessed folders, folder view preferences, etc.  If you can see the file there but still get this error, try to delete the file.  It won't harm anything or lose any work -- it will simply reset a few implied preferences.


Chris

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 5757 views
  • 0 likes
  • 3 in conversation