You are currently reviewing an older revision of this page.
At startup the following or similar message appears, after which none of the Promis.e/Bentley Substation tools work.
Internal ErrorError Message: Access to the path 'C:\Users\[user name]\AppData\Roaming\Bentley\promis-e V8i(M)' is denied.TargetSite: Void WinIOError(Int32, System.String) DeclaringType: System.IO.___ErrorAttributes: internal staticMemberType: Method
The path specified in the error message may be a different user's appdata path.
This message has been found to occur when the path specified for the LogCommandPath in the UserOptions.xml file is invalid.
This has occurred when the UserOptions.xml file from a user's system is used as the template user options profile in place of the default.UserOptions.xml file provided with the software, and another user begins to use the software (on the same or different machine) or a user deletes or renames their user appdata folder to resolve a different issue.
Delete or rename the UserOptions.xml file found in the following folder.
Application Data (per-user configuration) - Promis.eApplication Data (per-user configuration) - Substation
This will cause a new UserOptions.xml file to be created from the template user options file. If this does not help, the problem may be in the template user options file, see Option 2.
Use Notepad or other text editor to open the UserOptions.xml file found in one of the following folders.
Save the UserOptions.xml file.
To prevent the error message from recurring, repeat the above process on the template UserOptions.xml file, which is specified in the "User option profile" field on Setup > System Paths. If managing the data folder path, the specified file will be in the "\Config\Options\" subfolder of the path specified in "Data folder path".
Application Data (per-user configuration) - Promis.e
Application Data (per-user configuration) - Substation