Tip #12. Reset app pool instead of IIS to clean the cache

Rate this item
(0 votes)

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.

 

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.