cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eseilram
Level 5

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
jacafl
Level 2

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
eseilram
Level 5

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
ObjShell.run 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