Showing results for 
Search instead for 
Did you mean: 

Setting IIS Properties

Can anybody help me out?

I need to set the shutdownTimeLimit for an application pool for IIS6 and IIS7.

How can I do this?

Kind Regards!
Labels (1)
0 Kudos
2 Replies

Re: Setting IIS Properties

Sorry to bump.

I'm having the same issue and was wondering if you'd come to a solution? I need to set a Private Memory Limit but that property isn't available in the Application Pool page.
0 Kudos

Setting properties

Hi, yes I found a solution.
This is the custom action that works for IIS7. It sets the property for the application pool.

Dim ObjShell
Dim StrCommand
Dim windir

Set ObjShell = CreateObject("Wscript.Shell")
StrCommand = "cmd /c " + Session.Property("CustomActionData") + "system32\inetsrv\appcmd.exe set apppool SP-EXPERT-Applicationserver /processmodel.shutdownTimeLimit:00:06:00"
'MsgBox StrCommand StrCommand
set objShell = Nothing

For IIS6 I have another CA as this property must be set at the site.

If you need further assistance let me know.
0 Kudos