Cannot Copy File ERROR_FILE_EXISTS:The file Exists.[CopyFileEx]

Get help for specific problems
Posts: 2
Joined: 3 Nov 2022

ahamed

Hi,

I am getting below error while syncing,Using version 11.27

Cannot Copy File
ERROR_FILE_EXISTS:The file Exists.[CopyFileEx]

ERROR_SHARING_VIOLATION:The process cannot access the file because its being used by another process[Delete File]
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

What is the full error message (without alterations)?
Posts: 2
Joined: 3 Nov 2022

ahamed

Error: Cannot copy file
"C:\Evening_11PM\dmp_WED_PROD.log" to
"D:\DataBase_BACKUP\Evening_11PM\dmp_WED_PROD~97c3.ffs_tmp".
ERROR_FILE_EXISTS: The file exists. [CopyFileEx]
Cannot delete file "D:\Evening_11PM\dmpPROD~97c3.ffs_tmp".
ERROR_SHARING_VIOLATION: The process cannot access the file because it is being used by another process. [DeleteFile]
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

You can use copy and paste to insert the error message here. No need to type manually.

These are two error messages. I'm assuming they are from different sync runds.

No locking process for ERROR_SHARING_VIOLATION is shown. Therefore most likely something on D:\DataBase_BACKUP is locking, assuming it is a network drive.

The ERROR_FILE_EXISTS doesn't make sense, unless it's similar/identical to viewtopic.php?t=7898