Tuesday, July 21, 2009

Administrative service for this server is not enabled

You got the following message while deploying your solution or retracting the solution.

The timer job for this operation has been created , but it will faily because the administrative service for this server is not enabled. If the timer job is schuled to run at a later ime, you can run the jobs all at once using stsadm -o execadmsvcjobs. To avoid this problem in future , enable the Windows SharePoint services administrative service, or run your application through the STSADM.exe command line utility.

Solution 1:
Go to each server in your farm and execute the following command


net stop "Windows Sharepoint services Administration"
net start "Windows Sharepoint Services Administration"
Solution 2:
1. Go to each server in your farm.
2. Start > Run > services.msc
3. Look for Windows Sharepoint Services Administration

4. Make sure service is running.
5. Make sure service is set to start 'Automatic', otherwise this problem will again be back once servers are rebooted.