April 04, 2013

Cannot Deploy Solution to SharePoint: Solved


Recently, while I was working on a SharePoint project, specifically on creating a custom web-part, so the VM  I was working on was old enough, and having a lot of issues ( I use it for testing ), and while deploying the solution the deployment stopped with an error that deployment of the solution have failed.
After investigation I found out that the "SharePoint 2010 Administration" service was stopped, I tried to start the service but that action would always fail. since I needed to test my solution I used the following command to actually deploy the solution again


stsadm.exe -o execadmsvcjobs 

what it did was it executed all the administrative jobs, and as one of the, deployment.

Good Luck !

No comments:

Post a Comment