Author |
Topic  |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 20 May 2013 : 01:22:42
|
My home page is html with links on it to my forums. The home page loads almost instantly even though it's full of graphics, but the forums are taking forever to load. And even after the default.asp loads, each and every link takes forever to load when they're clicked on, too.
Could someone tell me if this below in the web.config has anything to do with it? Hosting made a change in the web.config because of a script timing out but now it's worse!
<limits scriptTimeout="00:05:30" maxRequestEntityAllowed="20000000" />
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 20 May 2013 : 01:39:38
|
sounds to me like you are being hosted on an over subscribed server, generally you should not have to set these values at all, if a script is timing out they should be investigating why not just increasing the timeout values |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 20 May 2013 : 02:53:29
|
They made changes, adding the above to web.config, after I received the following error.
Active Server Pages error 'ASP 0113'
Script timed out
/fp/photo_album_upload.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 20 May 2013 : 09:23:03
|
quote: Originally posted by HuwR
. . .if a script is timing out they should be investigating why not just increasing the timeout values
Is that not done in the web.config? If not, what does this line they added do?
<limits scriptTimeout="00:05:30" maxRequestEntityAllowed="20000000" />
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 20 May 2013 : 11:47:41
|
Instead of just increasing the timeout, there should be some investigation into why the timeouts are happening.
Most of the time this is a result of a hosting provider putting too many accounts on the same server, resulting in more work that the hardware can manage.
The home page loads fine because static HTML has a very low overhead and takes exceedingly few server resources to serve up. Pages like the forum require the resources to manage the database connection, server variables, etc. - and there's an equal chance that the problem is a slow/overworked database server as it being the web server itself. Increasing the script timeout only helps (in a loose sense of the word) in the latter case and not the former. |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 20 May 2013 : 12:45:07
|
Hosting is looking into it.
For now, everything seems to be loading okay again except for the photo_album_upload.asp.
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
|
Topic  |
|