Fix OneDrive Error: “The source and destination file names are the same.”
Problem: I encountered an error while trying to open a file in OneDrive: “The source and destination file names are the same.”
Solution:
This error usually occurs when you try to sync, move, sync, copy, or open a file in many cases and the solution is below:
- It could be caused by a file name + address length being too long – above 260 characters! The OneDrive client is unable to create a local copy on your local disk. Try renaming the file to something smaller or using fewer nested folders.
- The files were not downloaded until I opened them. Once I used the “Always keep on this device”, the sync started, the files were on my HD, they opened without a problem, and everything worked as expected.
- Accessing the file through the web browser by selecting “View Online” also worked.