Last post May 03, 2012 05:46 PM by markfitzme
May 03, 2012 03:59 PM|superbunlge83|LINK
Hope someone can help with this I'm really stuck!
I've developed my webapp locally and not see this issue, I now i've uploaded it to the webserver (IIS 7.5)
I've added a timer to the page and its takes 45secounds FLAT, to load the page. but this isn't every time, its only after pressing the refresh / reload button Multiple time it gets in this state...
I've search through IIS and google and can't find this magic 45 secounds settings? any ideas?
May 03, 2012 04:05 PM|bbcompent1|LINK
Can you show the aspx and code behind for your page? I'm thinking it might be something to do with postback. When you hit F5/reload, that is a full postback which will kick off your timer if you don't have the timer inside a (Page.IsNotPostBack) block.
May 03, 2012 05:09 PM|superbunlge83|LINK
Alot of the code just references classes so wudn't be much use unless I sent the entire project!
I've norrowed it down, it appears to be something to do with the database connection. which is even more stranger as it connects to the same DB (remotly from my dev machine) which is local to the webserver where I am now seeing the issue.
May 03, 2012 05:46 PM|markfitzme|LINK
Look to see if there are any resources being used that aren't being freed up. For example, close database connection and destroy objects. If any of these functions use a third-party control then take a look at them as well. It could very well be that there
is something in a component or piece of code that is using too much memory, or some resources, or that it isn't designed for a multi-threaded environment and dies during concurrent uses.