The ScriptTimeout property can be set in the Web.config file by setting the executionTimeout attribute of the httpRuntime element. Setting the time-out programmatically with the ScriptTimeout property takes precedence over the Web.config setting.
If you set the debug attribute of the compilation element to true in the Web.config file, the value of ScriptTimeout will be ignored. |