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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 6091 views
  • 0 likes
  • 3 in conversation