Please upgrade your web browser now. Internet Explorer 6 is no longer supported.
Zac Smith
SharePoint, WSS and MOSS development.

Recycle App Pool in IIS 7.0 (Vista & Server 2008)

by Zac Smith 29-Jul-08, 0 Comments
When developing apps in SharePoint that use the GAC for assemblies, you constantly need to be resetting/recycling IIS.
 
If like me you prefer to recycle your application pools rather than reset all of IIS you probably do this in a script all the time:
 
cscript c:\windows\system32\iisapp.vbs /a "MOSSAppPool" /r
 
Now that I have moved my dev environments to Server 2008 I am using IIS 7.0 and there is a new recycle script:
 
c:\windows\system32\inetsrv\appcmd.exe recycle APPPOOL "MOSSAppPool"
Categories:
0 responses so far:

     

Post a Comment:
Name:
URL:
Email:
Comments: