I am trying to deploy a wsp through SP 2010 Mgmt Shell but every time it throws an error:
This is the script that I am running:
Add-SPSolution -LiteralPath "E:\QD Survey 2013-01-10\QDSurvey.wsp"
I am trying to deploy a wsp through SP 2010 Mgmt Shell but every time it throws an error:
This is the script that I am running:
Add-SPSolution -LiteralPath "E:\QD Survey 2013-01-10\QDSurvey.wsp"
I managed to resolved the error on my own. I checked my Event Viewer logs and found these errors occurring multiple times:
Event ID: 7031 "The SharePoint 2010 Timer service terminated unexpectedly. It has done this 34076 time(s). The following corrective action will be taken in 30000 milliseconds: Restart the service."
Event ID: 7024 "The SharePoint 2010 Timer service terminated with service-specific error %%-2147467259."
This seems that SharePoint Timer Service was crashing after every minute. This was somehow affecting my wsp deployment.
I followed the below steps to fix the timer service issue first and then eventually I was successful in deploying my wsp to the server:
The folder should be populated with XML files within a minute.
After this my wsp was successfully deployed via SharePoint 2010 Management Shell using Add-SPSolution and Install-SPSolution commands.