Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unauthorized Access Error when updating connectors #144

Open
GeeJay61 opened this issue Mar 24, 2024 · 1 comment
Open

Unauthorized Access Error when updating connectors #144

GeeJay61 opened this issue Mar 24, 2024 · 1 comment

Comments

@GeeJay61
Copy link

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

@modery
Copy link
Owner

modery commented Apr 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants