Sometimes installation of a wsp package to SharePoint 2010 server fails with the error message
"Some of the files failed to copy during deployment of the solution. <Server Name> : <Server URL>: SharePoint - 80 : Error: The copying of this file failed: MyProject.dll.
I/O error occurred.
<Server Name>: I/O error occurred."
After digging I found out that this was due to the dll in bin folder being locked by sharepoint 2010 timer services job.
Below powershell script stops and starts the timer job service again
http://practicalkungfu.net/2012/10/05/sharepoint-2010-restart-the-timer-service-on-all-service-in-the-farm-remotely/
"Some of the files failed to copy during deployment of the solution. <Server Name> : <Server URL>: SharePoint - 80 : Error: The copying of this file failed: MyProject.dll.
I/O error occurred.
<Server Name>: I/O error occurred."
After digging I found out that this was due to the dll in bin folder being locked by sharepoint 2010 timer services job.
Below powershell script stops and starts the timer job service again
http://practicalkungfu.net/2012/10/05/sharepoint-2010-restart-the-timer-service-on-all-service-in-the-farm-remotely/
No comments:
Post a Comment