You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
jkischel
4 years agoExplorer | Level 3
sync client is locking files and causes other software to crash
Hi folks,
our company, M&M software GmbH from Germany, is developing the industrial automation developing software e!COCKPIT for the WAGO group and therefore we’re handling the pure technical support for that application.
From time to time, some of our customers that using your [Windows] Dropbox synchronization client report that our application crashes when Dropbox starts to synchronize files. Our developer team tracked down the problem to that point that the Dropbox sync client seems to lock the files exclusively [and therefore, "stealing" access] when synchronizing them with the Dropbox server so our application cannot access its own files in that moment.
As the core of e!COCKPIT is based on a third party compiler software (CODESYS), we cannot just catch the exception and everything is fine because a data loss would occur in that moment and corrupted files would be the result. Bad idea. Also, the manufacturer of CODESYS told us that they will not fix this as the problem origin comes from an external source and is also very specific.
Is there anything we could tell the customers how to configure your sync software to perform a more ‚friendly‘ way of accessing files, some settings in the application, a hidden registry key or whatever? Would a third party client that is not from Dropbox solve that problem (if yes, which one?)? Note that we in this project are no active dropbox customers and we're not using the service at all, so we would just forward that information to the related customers in hope that it would help them anyway.
Kind regards,
Jan Kischel
software tester and technical support
M&M Software, Germany
- WalterDropbox StaffHey jkischel, welcome to the Community!
The best way to tackle this would be to have your clients pause syncing (or even quit the app) when working on those files through your own app and resume syncing or re-launch our desktop app when they're done with their edits.
I hope this helps!- grimhikeHelpful | Level 6
So the suggested answer from a Dropbox agent is manually turning off Dropbox? In other words, "STOP USING OUR PRODUCT when it causes a problem because we're not going to fix it." What a great solution!
- Anthony O.4Explorer | Level 4
I have this same issue with a backup application named Backup4All. I purposely backup some files to a dropbox folder. It will fail about 50% of the time with a file locking error if Dropbox is running. If I pause the sync then it succeeds.
========================================Backup aborted. Reason:Could not copy"C:\Users\******\Softland\Backup4all9\Catalogs\BackupFile(3).bkc" to "D:\Dropbox\Backups\BackupFile.bkc".The requested operation cannot be performed on a file with a user-mapped section open().========================================This is supposed to be an early morning automated backup so manually pausing dropbox is not an option.There is an existing request for an API or command-line interface to pause the sync to cover these situations.It is possible to do a task kill on the dropbox sync service followed by a restart but that might create more problems than it solves.
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!