Closing application error

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!
Posts: 2
Joined: November 2, 2016 - 15:32
Closing application error

Hi,

Each time the application is closed The following error occurs :

Runtime error: 

--------------------------------------------------
Error: System.UnauthorizedAccessException
Message: Access to the path 'C:\ProgramData\NSISDialogDesigner\NSISDialogDesigner.layout.xml' is denied.
Stack trace: 
   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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.Persistor.SaveAsXml(DockPanel dockPanel, String fileName, Encoding encoding)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.SaveAsXml(String fileName)
   at #=qP1MQLm3xoy43z41z$a1MI4dhzajIccE42O8D3BRUdFw=.#=qtSEw3NcS1LOnHoDt3TQ7awQMYOA2J0fCsQsj0drp5qc=()

 

And when I close the error message window the following message is displayed

Runtime error: 

--------------------------------------------------
Error: System.UnauthorizedAccessException
Message: Access to the path 'C:\ProgramData\NSISDialogDesigner\NSISDialogDesigner.config.xml' is denied.
Stack trace: 
   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 NSISDialogDesigner.Settings.SaveToXML(String filename)
   at #=qP1MQLm3xoy43z41z$a1MI4dhzajIccE42O8D3BRUdFw=.#=qs_bACLo1bXzf$59AY_noGzapua12sv8vD0GQPWsCqek=()

 

Windows 7 / 32 bits

NSISDialogDesigner v 1.4.2

 

 

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Closing application error

That file is where NSISDialogDesigner stores its IDE layout info (panel layout, ...).

The folder C:\ProgramData\NSISDialogDesigner is created by the setup and set writable to all users.
Maybe something gone wrong during setup, or something else prevented setting its permissions.

Please check it exists and its permissions, otherwise create it and set it as writable by all users...

Posts: 2
Joined: November 2, 2016 - 15:32
Re: Closing application error

The folder and files exist and have read/write access.

I have to destroy the directory and re-create it to get the application work correctly. 

Many thanks for your help and for your great job.

 

Claire