Tuesday 18 September 2012

Some times you cant deploy or retract the sloution in the solution managemetn

The administration service is running so all administration jobs will be run in
the timer service.


Symptom:

I had a solution that was stuck in the deploying state.  When I looked at it, it had only deployed successfully on one the the front ends.  To solve the problem, I ran stsadm execadmjobs.  I have done this multiple times in 2007, but this time I got this message:

The administration service is running so all administration jobs will be run in the timer service.

Problem:

The timer service is set to take care of all admin tasks, so it is telling you that the jobs will run when the timer service is good and ready to kick them off, but until then, just sit on your hands and wait.

Solution:

Stop the admin service, then run the command to execute the admin jobs, then turn back on the admin service.  These are the three powershell commands to do this:
 •net stop SPAdminV4
•Start-SPAdminJob
•net start SPAdminV4

The first command shuts off the admin service.  The second command is the powershell equivalent to stsadm execadmjobs and the third one turns back on the admin service.