The following error occurs when opening CONNECTION Client:
We couldn't create the data directory
Microsoft Edge can't read and write to its data directory:
The error has two possible causes:
If a user right-clicks on the installer for CONNECTION Client 11.00.02.16 or later and selects "Run as administrator" or executes the installer from an Administrator Command Prompt or PowerShell console and in either case executes the installer as a different user with administrative privileges, the Bentley Licensing Service and CONNECTION Client that are started at the completion of the installation will be running as the administrator, not the user. This causes problems when the Edge WebView component running as the user attempts to communicate with CONNECTION Client running as the administrator as shown below:
A permissions issue is causing the error. This occurs if the file system denies the current user access to the path specified in the error.
If the first error occurs, please restart the computer or log off of Windows to close any instances of the Bentley Licensing Service or CONNECTION Client running as the administrator. CONNECTION Client should function properly after the user logs into Windows again. To prevent the issue, ask administrators to run the installer as a normal user. When clicking the Install button, Windows will then prompt for administrator credentials to elevate the installation process only, not the processes that start afterwards.
If the second error occurs instead, perform the following steps to correct the permissions: