You are currently reviewing an older revision of this page.
The following error are being returned.
"System.Unauthorized.AccessException: Access to the path "<FilePathLocation>" is denied"
This has been known to occur when doing one of the following:
---------------------------UnauthorizedAccessException Details---------------------------
System.UnauthorizedAccessException: Access to the path '<FilePathLocation>' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
This error appears when the software cannot access or save to the folder location specified.
The following steps may require the assistance of your company's IT department
Solution 1: Set the software to "Run as Administrator"
Solution 2: There is an issue with an output file
Solution 3: The model files are located on a CD or DVD
Solution 4: There is an issue with the software installation
Uninstall the software from the computer
Make sure the Bentley folders and their subfolders at the following locations have full administrative privledges and read/write access. A) "C:\Users\[UserName]\AppData\Roaming" B)"C:\Users\[UserName]\AppData\Local" C) "C:\Program Files" D) "C:\Program Files(x86)" E) "C:\Program Data"
Go to the folder locations listed below and delete any folders that may be left for the program you uninstalled in step one: A) "C:\Users\[UserName]\AppData\Roaming\Bentley" B) "C:\Users\[UserName]\AppData\Local\Bentley" C) "C:\Program Files\Bentley" D) "C:\Program Files(x86)\Bentley" E) "C:\Program Data\Bentley"
Download the latest version of the software and the patch set for that version using the instructions below and save the files on your local hard drive.
See:
Downloading Haestad / Hydraulics and Hydrology software Cumulative patch set frequently asked questions
Downloading Haestad / Hydraulics and Hydrology software
Cumulative patch set frequently asked questions
Solution 5: Contact Technical Support
If the above steps do not resolve the issue, then please contact technical support for futher help.