Friday, September 16, 2016

SharePoint Solution deployment failed due to locking of a DLL

During the solution Deployment in SharePoint, if you are trying to upgrade a solution and the deployment failed in any server in the farm, there could be a possibility that it is trying to overwrite on an existing dll and the same dll was being used or locked by existing process which was running in the server. So we need to find out which process is locking the dll ?

Solution: Open command prompt and run the following command

tasklist /m <thelocked.dll>

This will show all the processes that are currently using that dll and you need to restart the services for those processes.

If the above solution did not help, you may need to reboot the server.

No comments:

Post a Comment