An unexpected error has occurred. Error message is: The process cannot access the file ‘C:\Users\Administrator\AppData\Local\Temp\Microsoft.Commerce.Portal.Common.dll’ because it is being used by another process.
Or
This issue we may encounter when the new WSP are in non deployed state , where as the old WSP still exist in SharePoint Solution management. Follow below steps to remove old WSP from SharePoint Solution management.
How to Solve
1. Open SharePoint Central Administration website.
2. Click on the System Settings from the left pane.
3. From the right hand side, click on Manager farm solutions link.
4. You will see two old WSP in solution management. Click on the WSP and remove them.
5. Now your SharePoint Commerce Services utility will get executed without throwing the above exception.