开发者

SharePoint 2007 WSP deployment process, restarting SPTimerV3 service

开发者 https://www.devze.com 2023-04-05 01:21 出处:网络
I\'ve got a WF feature which I\'ve been deploying into my development/test environment fairly frequently, and as such have run into an issue where the assembly seems to be cached by the SharePoint Tim

I've got a WF feature which I've been deploying into my development/test environment fairly frequently, and as such have run into an issue where the assembly seems to be cached by the SharePoint Timer service (SPTimerV3), and then an out-of-date version is used after the workflow rehydrates following a Delay Activity.

To 开发者_如何学Gofix this, I've tried adding a "NET STOP SPTimerV3" and "NET START SPTimerV3" to my batch file after the STSADM commands to install the .WSP . It works to restart the timer service, and I no longer have the caching problem, however restarting the timer this way seems to kill my SP App Pools in IIS fairly regularly.

Has anyone found a good way to restart the timer in a WSP deployment batch file without adverse affects? Do I need to restart another dependent service, or restart the App Pools each time as well?


you need to restart IIS as well. IISRESET /noforce should do the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消