User991499041 posted
Hi hoshi123,
Hi, I've been trying to open this link(......................./fpclog.aspx) for like 2 days on my laptop. But all it says is that the site
took too long to respond..while I could open other sites. Are there any settings that I should do to open this link that ends with .aspx?? Pls help me with this...
Most of the time hangs are very hard to reproduce in the test environment.
This depends on the server resources, application logics, network bandwidth, software infrastructure.
Common situation is that you need to optimize your SQL query or make your code more efficient, so it takes less time to execute.
But, sometimes it is not your mistake at all, but you simply need more time to execute long running task from your ASP.NET web page.
This error occurs when execution of page takes long time and it is stopped by the server.
Sometimes this error is result of simple mistake in source code, like never ending while loop.
If you want to have an option to change server timeout value later, after code is compiled, one of easy ways is to change it as parameter through a web.config.
You can set server timeout with code like this:
<httpRuntime executionTimeout="300"/>
Don't forget, every time you change web.config file your web application will restart.
HttpRuntimeSection.ExecutionTimeout
https://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.executiontimeout(v=vs.110).aspx
Regards,
zxj