modery / PowerDocu

Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unauthorized Access Error when updating connectors

GeeJay61 opened this issue · 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

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

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