PDA

View Full Version : Error while deleting file


Gerald Kellermann
03-14-2007, 05:11 AM
Greetings
I've a problem with a Silent Patch developed with VP2.

The Patch doesn't work at some of our customers and I can't reproduce the error. The Patch aborts always with the same message and on the same file:
Deleting original file (5): C:\Programme\update.seven win BtB MS-Sql\system\exe\bbmski.dll (106)


I know that return code 5 stands for a manually abort, and the 106 for an error while deleting file, but the Patch wasn't manually aborted.
No threads/tasks are locking, and the file attributes are all unchecked. There is also no Virusscanner interfering.

Any ideas?

regards Gerry

Lorne
03-14-2007, 10:27 AM
In that error message, 5 is a Windows System error code, not a Visual Patch error code. So it is actually an "Access is denied" error.

It sounds like the user does not have delete privileges for that file and/or the folder it's in.

Gerald Kellermann
03-14-2007, 10:42 AM
Thanks for the hint.