Overview
This article addresses an issue where the update of the WebGrade database fails, and the below error message is displayed in the UI (user interface):
WebGrade Database last updated on: Failed: Failed to delete old path(5)|D:\Program Files\GFI\WebMonitor\UrlSB\|. Next update check: 2011-07-14 11:55" In the WebMonSrvLog.txt log: 2011-07-15,09:38:48,092,#00001ca4,"ERROR","WMonSrv","Failed to delete file:D:\Program Files\GFI\WebMonitor\UrlSB\msvcm80.dll GetLastError:00000005" 2011-07-15,09:38:48,092,#00001ca4,"ERROR","WMonSrv"," EmptyDirectory error.Failed to delete old path(5)|D:\Program Files\GFI\WebMonitor\UrlSB\|." 2011-07-15,09:38:48,092,#00001ca4,"ERROR","WMonSrv"," Error: Failed to copy new WebGrade files Error:77.
Environment
GFI WebMonitor build 20110511
Resolution
To resolve this issue:
- Check the URLSA and URLSB directory for files with the read-only flag set. Typically, you will find three read-only msvc*80.dlls files left in the directory of the error message.
- Remove the read-only attribute for all files in URLSA and URLSB.
Confirmation
After removing the read-only attributes for all files in URLSA and URLSB, the update of the WebGrade database will no longer fail.