Ir al contenido principal

Recycling Pool

I need to recycle application pool every time for SharePoint 2007 application page debug, so i searched for PowerShell script out there and ended with this option:

PS > (Get-WmiObject -class "iisapplicationpool" -namespace "root\microsoftiisv2"
-filter "Name='W3SVC/AppPools/DefaultAppPool'").Recycle()

here DefaultAppPool is the name of your application pool under the tree of IIS admin, so you must change on demand

this works fine for IIS6 on windows server 2003 R2 64bits, and power shell 1.0
It should work for power shell 2.0 and Win2008R2


Comentarios

Entradas populares de este blog

GNUstep ProjectCenter/Gorm/AClock running Ubuntu 10.04

Download sources GNUstep (stable or unstable) to compile; Dependencies First you need to check dependencies in ubuntu and install with sudo apt-get or search before with apt-cache command; almost every package ends with *-dev in ubuntu repositories this command will install all dependencies for compile: ~$ sudo apt-get install libffi-dev libssl-dev libxml2-dev libxslt1-dev libcairo2-dev libxt-dev GNUstep Make compiling GNUstep make is our first target; it's the primary package to compile GNUstep applications. get the package, untar and change into the folder and compile: ~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.4.0.tar.gz ~$tar xzvf gnustep-make-2.4.0.tar.gz ~$cd gnustep-make-2.4.0/ ~$./configure --prefix=/usr/local/GNUstep/ --enable-native-objc-exceptions ~$make ~$sudo make -E install *NOTE: the options /usr/local/GNUstep/ is the folder where all the GNUstep is going to install. the second option --enable-native-objc-exceptions enable th...

Capacitación en línea

Python, uno de los lenguajes soportados en la GoogleApps beginning: python , ShowMeDo . jQuery commercial screencast: Peepcode.com SharePoint 2010, la tecnología de mayor crecimiento en micro$oft intro: Building Solutions on SharePoint 2010 SharePoint 2010 Beta Developer Center Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008 CriticalPath Technical Articles Driving SharePoint adoption SharePoint Server 2010 capacity management: Software boundaries and limits Learning Snack for Developers: Developing Solutions with Microsoft SharePoint 2010 (20 min) Experiencing the Microsoft SharePoint Server 2010 User Interface (20 min) Managing and Troubleshooting with Microsoft SharePoint Server 2010 (17 min) Microsoft eLearning: Clinic 10277: What's New in Microsoft SharePoint 2010 for Developers SharePoint 2010 for Internet Sites Implementers' Course Developing on SharePoint 2010 Getting Sta...

meta:progid

The meta:progid attribute on the Page directive is necessary if the page will ever be opened in SharePoint Designer. You should include this as site pages are supposed to support customization and thus, be opened in SharePoint Designer. If you don't want to allow pages to be opened and customized in SharePoint Designer, then you should do that through permissions, not at the page level. Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites SPFile.ProgID gets a string that identifies the application in which the file was created. That's all the meta:progid is about. It's a identifier for SharePoint and you probably should not use other attributes, they might cause run-time error. Ref: msdn forum thread explanation