Re: "The page cannot be displayed" after process for an hour
From: Juan T. Llibre (nomailreplies_at_nowhere.com)
Date: 02/04/05
- Next message: Jason: "SmtpMail error"
- Previous message: Manish Sawjiani: "Adding records to MS Access 97 Tables using ASP.net"
- In reply to: Siang Hwee: ""The page cannot be displayed" after process for an hour"
- Next in thread: Siang Hwee: "Re: "The page cannot be displayed" after process for an hour"
- Reply: Siang Hwee: "Re: "The page cannot be displayed" after process for an hour"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Feb 2005 07:40:20 -0400
Please, in any future question, include the version of the
.NET Framework, and the Operating System you're using.
Assuming you are using ASP.NET 1.1...
Check the following settings in web.config :
( If they don't exist in web.config, check to see if they were changed in machine.config )
If you see lower values in machine.config, change the values in the web.config file.
<httpRuntime executionTimeout="3600" /> ( You may need a higher value, in seconds )
( Caution: setting this value too high may lead to performance problems... )
If you're using forms authentication, check :
<forms name=".ASPXAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true">
*That* timeout is expressed in minutes. It may have been set to "60" ( 3600 seconds )
Also, check your sqlConnectionString timeout :
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10"
sqlConnectionString="data source=127.0.0.1;Integrated Security=SSPI" cookieless="false" timeout="20" />
It may be set to 60 *minutes*. You may need to set *that* timeout to a hiugher value.
Also, check to see if the processModel timeout has been changed from "infinite" to a finite setting:
<processModel enable="true" timeout="Infinite" ( there's many settings n that section. I only showed the "enable" and "timeout" ones.
Make any required changes, and let us know how you do.
Juan T. Llibre
ASP.NET MVP
===========
"Siang Hwee" <SiangHwee@discussions.microsoft.com> wrote in message news:6D7B5F66-862D-4E13-9DBE-3D0F472D3A85@microsoft.com...
> Hi. I am facing some problem in Asp.net. I am developing a payroll
> application currently. This is a web-based application. User need to click on
> "Process" button in order to process the payroll every time. Now the problem
> is, if the processing time is less than 3600 seconds, everything will work
> fine. but when the processing time is more than 3600 seconds. A page cannot
> be displayed message will be shown on the browser.
>
> Any one know why?
>
> --
> Siang Hwee
- Next message: Jason: "SmtpMail error"
- Previous message: Manish Sawjiani: "Adding records to MS Access 97 Tables using ASP.net"
- In reply to: Siang Hwee: ""The page cannot be displayed" after process for an hour"
- Next in thread: Siang Hwee: "Re: "The page cannot be displayed" after process for an hour"
- Reply: Siang Hwee: "Re: "The page cannot be displayed" after process for an hour"
- Messages sorted by: [ date ] [ thread ]