cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sync client is locking files and causes other software to crash

sync client is locking files and causes other software to crash

jkischel
Explorer | Level 3

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

3 Replies 3

Walter
Dropbox Staff
Hey @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!

Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join

Anthony O.4
Explorer | 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\Backup4all
9\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.

grimhike
Helpful | 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!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    grimhike Helpful | Level 6
  • User avatar
    Anthony O.4 Explorer | Level 4
  • User avatar
    Walter Dropbox Staff
What do Dropbox user levels mean?