共享点pipe理服务器未启动导致共享点部署不稳定

当我部署任何东西到各种Sharepoint服务器,我遇到了一些包失败的问题,从我可以看到唯一的错误给出如下。

The timer job for this operation has been created, but it will fail because the administrative service for this server is not enabled. If the timer job is sched uled to run at a later time, you can run the jobs all at once using stsadm.exe - o execadmsvcjobs. To avoid this problem in the future, enable the Windows ShareP oint Services administrative service, or run your operation through the STSADM.e xe command line utility. 

这是一个已知的问题吗? 我search的文字,但只有一个人的问题谁只是围绕它。 我正在尝试以编程方式批量部署解决scheme,因此如果您必须事后返回并手工重做,则这些错误会使整个代码变得毫无价值。

批量部署是不可能的吗?

谢谢!

批量部署是可能的

 @echo off for %%f in (*.wsp) do ( echo File %%f "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o addsolution -filename "%%f" "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o deploysolution -name "%%f" -allowgacdeployment -immediate -force ) "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o copyappbincontent "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o execadmsvcjobs iisreset.exe 

正如你在错误信息中看到的那样,使用stsadm -o execadmsvcjobs。 还要检查IIS是否所有的应用程序池和网站都在运行。