Home » Asp.net

sys.webforms.pagerequestmanagerservererrorexception 503 Error

Hi All,

I am using VS2005, .net2.0, Ajax with Oracle 11g and ODP.Net. I have a report that I am calling from .aspx page.
Its a complex report so its taking approx. 5mins. to load. I am using update panel.
But exactly after 3mins after the page load, I am getting this error.. "sys.webforms.pagerequestmanagerservererrorexception: 503" Error and its stop loading the page further.
This is happening only in DEV and UAT server(DEV & UAT both in the same box). This is working fine in my local system.

I donno whether this error related to timeout. So I have tried allmost all possibilities like..
1) Increasing the timeout by adding...<asp:ScriptManager id="ScriptManager1" runat="server" EnablePartialRendering ="true" AsyncPostBackTimeout ="36000">.
2) Increased the Oracle ODP.Net command timeout "OracleCommand.CommandTimeout = 36000"
2) Added.. <sessionState mode="InProc" timeout="3600"></sessionState> in the web.config file.
3) Added.. <httpRuntime timeout="3600"> in the web.config file.
4) IIS server, I have set these values for the "Default Website"....... "Connection timeout : 600 secs",  "Session timeout : 20mins",   "Request execution timeout : 3600 secs"
5) Also I have set these values for "Application(DEV)"....... "Enable Session State:  Session timeout: 20mins",  "ASP Script timeout: 3600 secs",  Connection timeout : 600 secs",  "Session timeout : 360mins",   "Request execution timeout : 3600 secs"

Is there any other solution I should try to avoid this error message ?

Thanks in Advance.



4 Answers Found


Answer 1

Have you verified that the connection is working? A 503 error is a service unavailable error.  Given that you're using Oracle, I would look at the port that is expected to be used between your DEV and UAT server and the database server. 


Answer 2

Yes. It has active connection.


Answer 3

With the server that is having the problems? 


Answer 4

3) Added.. <httpRuntime timeout="3600"> in the web.config file

Actually httpRutime timeout should be executionTimeout


<httpRuntime executionTimeout="600"/>

If nothing works, I would use a thread to handle the report generation, please see the example below


Full example can be found here.



<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure