Changing the ScriptTimeout

Changing the ScriptTimeout

The default setting for ScriptTimeout is 90 seconds. For IIS 3.0, it is located in the system registry where we can easily change it to another value. It is advisable to set it to a lower value, and control each script individually.

If the default is set to 90 seconds and we have this entry in our scripts:

 <%Server.ScriptTimeout = 30 %>

It will not work because we cannot set a scripts timeout value to less than the ScriptTimeout setting. But, we can increase it.

To change the ScriptTimeout value, open registry editor, and search for:


and change the ScriptTimeout value as desired. With IIS 4.0/5.0, we have to use the Management Console to change the settings.

See also  Comparing different methods of testing your Infrastructure-as-Code

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist