Error "NintexWorkflow2013core.wsp The process cannot access the file ... because it is being used by another process.

Document created by butlerj Support on Nov 20, 2018
Version 1Show Document
  • View in full screen mode
ISSUE
When upgrading Nintex Workflow the following error occurs:

NintexWorkflow2013core.wsp The process cannot access the file 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Bin\NintexWorkflowStart\Autofac.dll' because it is being used by another process.
ERROR CODE
Error: The copying of this file failed: Bin\NintexWorkflowStart\Autofac.dll. The process cannot access the file 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Bin\NintexWorkflowStart\Autofac.dll' because it is being used by another process.
RESOLUTION
  1. From a command prompt, run the following command (using the name of the .dll that was provided in the error text) to obtain a list of the PID's associated with the tasks that are currently using the dll:
    tasklist /m [dllname].dll
  2. Run the following taskkill command, using the PID list from Step 1, to stop any processes that are currently using the .dll:
    taskkill /pid [PID1] /pid [PID2]  
  3. After stopping these processes, either go to Central Admin and redeploy the solutions or run the installer again. 
  4. After confirming that the .dlls have been recreated properly on the affected server, reboot the server  and finish following the product update guide to complete the installation. 
ADDITIONAL INFORMATION
See the following references in Microsoft TechNet for the tasklist and taskkill commands:
RELATED LINKS

Attachments

    Outcomes