SharePoint world of ECM and Information Management

SharePoint Tip #12. Do you know “that you can reset app pool instead of IIS to clean the cache”?

Instead of resetting IIS to clean SharePoint cache the recommended solution is to reset application pools. This is preferable for the production boxes, when you have several sites on your box and you don’t want that all application were affected by IIS reset.

 

Use the following command to reset application pool

cscript c:\windows\system32\iisapps.vbs /a "<app_pool_name" /r.

In Windows 2008 you need to install IE6 scripting tools (Add/Remove Programs -> Windows Components). Alternatively, in development, you can use utility http://www.harbar.net/articles/apm.aspx with interface allowing to chose which pool to reset.

 

Current "SharePoint Tips and Tricks" series has been moved to its own "SharePoint SandBox" site, to leave the place for others SharePoint posts on this blog

Leave a Comment

(required) 

(required) 

(optional)

(required)