Deployment Error: The process ,cannot access a file.

Hello! I have a problem while I want to deploy my project in Mendix Studio Pro (9.17.). So far it has always gone smoothly - from time to time the error message came which now comes constantly and I can no longer deploy my project. The error message is: "The process cannot access the file [...] deployment\web\widgets\dependencies.txt because it is being used by another process.". Can anyone help me? Thank you very much! David
2 answers

Are you using a tool like Microsoft OneDrive? If you are, then try moving your project out of OneDrive to another location. Tools like OneDrive try to sync your files but this can cause issues if Mendix is still trying to use and update it. 

If you aren’t using OneDrive, do you have any antivirus software that carries out real-time scanning of files? That could cause the same problem.

Hope this helps and you get your project built.


Hi David,


Clean the deployment directory and then try deploying again