Cause
This error occurs if there is an attempt to rename a file to a different device.
Files are renamed only to the same device; for example, if you attempt to rename c:\myfile.txt to a:\newfile.txt. You cannot rename myfile.txt from the c: drive to the a: drive.
Action
Change your application code so that files are not renamed to different devices.