Skip to main content
Nintex Community Menu Bar

Issue

When upgrading Nintex Workflow, some Nintex solution(s) may be in an 'Error' state with the following error:

The process cannot access the file 'C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15Bin[NintexDLLName].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 dPID1] /pid dPID2]  
  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. 

 

Error Code

The copying of this file failed: BinNintexWorkflowStartAutofac.dll. The process cannot access the file 'C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15BinNintexWorkflowStartAutofac.dll' because it is being used by another process.

 

Additional Information

See the following references in Microsoft TechNet for the tasklist and taskkill commands:

 

Related Links

Nintex solutions in an 'Error' state after installation
Nintex solutions in an 'Error' state after installation

 

Be the first to reply!

Reply