Access Denied errors on startup

Description

Software version: 1.1.7.17-g98c8f59 (64 bit)
.NET runtime version: 4.0.30319.18444+
Time: 2014-08-22 14:19:02 -07:00
OS: Windows 7 Service Pack 1 (x64) 6.1 build 7601 revision 10000
GDI object count: 9
User object count: 2
Surface count: 0
Exception: System.UnauthorizedAccessException
Message: Access to the path 'Greenshot' is denied.

Stack:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Greenshot.IniFile.IniConfig.CreateIniLocation(String configFilename, Boolean isReadOnly)
at Greenshot.IniFile.IniConfig.Reload()
at Greenshot.MainForm.Start(String[] args)
at Greenshot.GreenshotMain.Main(String[] args)

Configuration dump:
[Core]
Language=
LastSaveWithVersion=1.1.7.17

Environment

Win7 64bit

Activity

Show:
Robin Krom
November 27, 2014, 2:44 PM

Hello,

Greenshot needs some place to store its configuration, but can't write where it is supposed to.
Could it be that you somehow hardened your system?

To give you some details, Greenshot wants to write it's data to the "application data" directory.
The directory that serves as a common repository for application-specific data for the current roaming user. A roaming user works on more than one computer on a network. A roaming user's profile is kept on a server on the network and is loaded onto a system when the user logs on.

Usually this directory is located here:
{{C:\Users\<user>\AppData\Roaming\Greenshot}}
This should not be write protected!

Maybe you can also tell us what you use to "install" Greenshot, e.g. if you use the .zip there might be a different problem.

P.S.
Is there a reason you are using 1.1.7, we released 1.1.9 for some time now.
Just asking, so we know if there is anything we can do to "urge" people to update.

Best wishes,
Robin

Robin Krom
December 1, 2014, 9:17 PM

Hello,

Can you give me any additional information, without it I unfortunately can't do much about this issue and will have to close it.

Best wishes,
Robin

Robin Krom
April 17, 2020, 12:27 PM

Close due to no feedback / not reproducible.

Assignee

Robin Krom

Reporter

Jeff Davis

Affects versions

Components

Priority

Major

Labels

Configure