PowerDocu icon indicating copy to clipboard operation
PowerDocu copied to clipboard

Unauthorized Access Error when updating connectors

Open GeeJay61 opened this issue 1 year ago • 1 comments

I am a first time user and cannot get started because I am facing an error when updating the connectors. Seems to be an access security issue. See attached screenshot.

An error occured while trying to update the connector list: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\PowerDocu-v.2.0.0-selfcontained\Resources\ConnectorIcons\connectors.json' is denied. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding) at PowerDocu.Common.ConnectorHelper.UpdateConnectorIcons() in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDocu.Common\PowerDocu.Common\ConnectorHelper.cs:line 77

Screenshot 2024-03-24 071750

GeeJay61 avatar Mar 24 '24 07:03 GeeJay61

In the next release, the connector files will be stored in a folder in the current user's profile. So, this problem shouldn't happen any more then. Still doing some testing at the moment, but hope to get the next release done within the next 2 weeks

modery avatar Apr 01 '24 15:04 modery

Hi, this has been fixed in today's 2.0.1 release

modery avatar Jul 13 '24 06:07 modery