One of our internal websites runs a particularly lengthy process (basically uploading and processing huge amounts of data from a spreadsheet). Because of the increasing size of the spreadsheets, this has now started to timeout before the process ends.
I don't particularly want to increase the timeout for the whole website, so I had tried to set it just for the single page in question using the web.config. Just extracting the relevant bits, that gave me this:
However, I'm finding that my page still times out after 5 minutes (which is the setting for the whole site) rather than the 10 minutes I've specified for it.Code:<!-- Increase the timeout for the single page --> <location path="~/UTIL/MultiWFInit.aspx"> <system.web> <httpRuntime executionTimeout="600"/> </system.web> </location> <!-- Default settings --> <system.web> <httpRuntime executionTimeout="300" maxRequestLength="51200" requestValidationMode="2.0" minFreeThreads="88" minLocalRequestFreeThreads="88" /> </system.web>
In case the order matters, I've tried putting the block for the single page before the default setting and after the default setting, but it gets ignored in both places.
Any idea what I'm doing wrong here?
Thanks...




Reply With Quote