When installing our modules sometimes people run into the problem of their internet browser timing out due to all of the files and SQL scripts. In this blog I will show you a way to allow your browser to wait longer without timing out when installing our modules.
This is the original web.config that installs with DNN 4, this file has this section:
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192"/>
When we added the executionTimeout parameter with a "3600" value (1 hour timeout), the purge worked great! It Took about 3 minutes on average to install a module. Here is the newly modified line of code with the new parameter executionTimeout.
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="1048576" requestLengthDiskThreshold="24576" executionTimeout="3600"/>
Some people may wish to make the executionTimeout shorter. So the formula to calculate how long you would like to allow is to take 60(seconds) and multiply that by how many minutes you would like executionTimeout to allow. So if you wanted 10 minutes then you would calculate 60 * 10 which is 600.
I'll be happy to hear your comments on this subject.