Error - UI Fail to delete folder


 Product(s):Promis.e & Bentley Substation
 Version(s):through 08.11.12.xx
 Environment:N/A
 Area:Installation/Configuration
 Subarea:N/A

Error or Warning Message

The UI Fail to delete folder Error may appear while opening the project manager in Promis.e or Bentley Substation.

Alert
UI Fail to delete folder.
The process cannot access the file 'C:\Users\DELL PC\AppData\Local\Temp\tmpAB4C.tmp' because it is being used by another process.
StackTrace: C:\ProgramData\Bentley\Promise V8i\Config\LastError.txt
Product Version: Promise V8i (SELECTseries 8)
DB Version: SQLServer 8.1.33

Explanation:

This error might be occurred because of a sudden shut-down of the software or because of some unwanted changes done in the previous session. And sometimes this may happen because of the antivirus installed in the machine too. Generally, the ByteFence anti-malware can create this.

How to Avoid

Option 1

Reboot the computer on which the software is installed and try again.

Option 2

Delete the temporary project options(.xml) file which is located in “C:\Users\user\AppData\Roaming\Bentley\promis-e V8i(M)”.  

Also delete the temporary files located in the %TEMP% folder, which is typically “C:\Users\[user name]\AppData\Local\Temp”. 

Option 3

Try to uninstall the antivirus and restart the machine.

 Original Author: