We have a node application using iisnode 0.1.21 and we're trying to lower the connection or execution timeout (on IIS 7.5)
Right now it's set to the default (120 s) but we've been unable to change that setting.
executionTimeout seems to be specific to asp.net and is not acknowledged by IIS, and connectionTimeout (
http://www.iis.net/ConfigReference/system.applicationHost/sites/siteDefaults/limits )does not work either. When we change the value, the actual timeout is still set to 120s.
If you would like to modify any IIS settings on role config, you can have start up tasks to do so.
For example as described in the article create a command file with the following command (bat file or cmd file) and configure it as start up task
appcmd.exe set config -section:system.applicationHost/sites/siteDefaults.limits.connectionTimeout:"00:03:00" /commit:apphost
Configure tasks up task.
<Task commandLine="Startup.cmd" executionContext="elevated" taskType="simple">
Please mark the replies as Answered if they help and Vote if you found them helpful.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?