Desktop productivity for business analysts and programmers

"Access to path C:\... Denied" error

Frequent Contributor
Posts: 80

"Access to path C:\... Denied" error

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.



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?


Frequent Contributor
Posts: 142

Re: "Access to path C:\... Denied" error

Posted in reply to pcfriendly


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.



Frequent Contributor
Posts: 80

Re: "Access to path C:\... Denied" error

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?


Frequent Contributor
Posts: 80

Re: "Access to path C:\... Denied" error

Posted in reply to pcfriendly

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 ...

Community Manager
Posts: 3,454

Re: "Access to path C:\... Denied" error

Posted in reply to pcfriendly

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


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.


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