473,671 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"The page cannot be displayed" after process for an hour

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
Nov 19 '05 #1
4 2726
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 executionTimeou t="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="fal se" slidingExpirati on="true">
*That* timeout is expressed in minutes. It may have been set to "60" ( 3600 seconds )

Also, check your sqlConnectionSt ring timeout :

<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424" stateNetworkTim eout="10"
sqlConnectionSt ring="data source=127.0.0. 1;Integrated Security=SSPI" cookieless="fal se" 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="Infini te" ( 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" <Si*******@disc ussions.microso ft.com> wrote in message news:6D******** *************** ***********@mic rosoft.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

Nov 19 '05 #2
Wouldn't be better to adopt an asynchronous approach?

Siang Hwee wrote:
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?

Nov 19 '05 #3
Hi. Juan. Thanks for your help. I am using Framework 1.1 and windows XP pro
as my development platform.
Besides, this application can cater for multiple database. In current
production environment. it is connecting to mySql and MSSql Server depends on
client needs and their budget. Now the problem occur for mySql database which
located at a Linux server. I try to simulte the the problem in windows
environment and same problem occur.

Actually I did try some of your suggestion before i post the question.
For <httpRuntime> executionTimeou t attribute. I even try to set the value
to 10000.
<processModel > timeout attribute i did check before it is infinite.
<sessionState > timeout attribute by default is 20. and i have no problem if
the the processing time is more than 20 minutes. So, it should'nt be a
problem.

The only thing i didn't check before i post the question is forms
authentication. The <forms> does not have any default time out value. I will
try to increase time out value but currently the latest source is in the
company and now is weekend. will get back to you if possible.

Again, many thanks to all your efforts. hava a nice day;)

"Juan T. Llibre" wrote:
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 executionTimeou t="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="fal se" slidingExpirati on="true">
*That* timeout is expressed in minutes. It may have been set to "60" ( 3600 seconds )

Also, check your sqlConnectionSt ring timeout :

<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424" stateNetworkTim eout="10"
sqlConnectionSt ring="data source=127.0.0. 1;Integrated Security=SSPI" cookieless="fal se" 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="Infini te" ( 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" <Si*******@disc ussions.microso ft.com> wrote in message news:6D******** *************** ***********@mic rosoft.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

Nov 19 '05 #4
Hi. Mattia. can you elaborate your asynchronous approach.

Thanks for your help.

"Mattia Saccotelli" <"m.saccotell i [AT] g" wrote:
Wouldn't be better to adopt an asynchronous approach?

Siang Hwee wrote:
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?

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
11300
by: Peter Rohleder | last post by:
Hi, I'm using a style-sheet where I make use of the XPATH-"following-sibling"-expression. The part which makes problems looks similar to the following code: --------------------------- <xsl:for-each select="headdata/extension/person">
4
13239
by: Earth Worm Jim | last post by:
I am using VS.Net 2003 on Windows 2003 Server (standard edition) and I am getting "The process cannot access the file because it is being used by another process" on DLL's in a VS.Net solution. I have made sure all the dependancies and the build order is correct but the actually instance of VS.Net (devenv.exe) is LOCKING THE DAM DLL'S IT IS TRYING TO BUILD. ????? I have used Process Explorer from sysinternals.com to confirm this.
2
3512
by: FrzzMan | last post by:
The first time I called this function, everything went well, but the second time I called it. An Exception thrown, do you know why? An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Additional information: The process cannot access the file "E:\......\bin\Debug\test.xml" because it is being used by another process. ----------------------------------------------
9
2361
by: Player | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all. I am in the process of teaching myself C# and I think I am doing OK. I have learnt how to how to call the right constructor of a class, if the class has more than than one cosntructor, by making sure that each constructor has a different signature. I have managed to learn that and get
6
1719
by: eXseraph | last post by:
Hi, As we know,in normal asp.net application, a browser need to send a request to a server first to refresh its page. Now I need to design a asp.net application with real-time capability like the MSN Web Messenger. That means once the session between browser and server has been established, the browser can get real-time messages with out sending requests periodically.(Or How to tell the browser that you need to send a new request to...
3
3728
by: JeffM | last post by:
I have a .dat file on a remote server that seems to be locked. I have tried to FTP to it and delete it, rename it, copy over it and I get the error. "Could not copy temporary files to the output directory" Anybody have any idea why this file is locked? What do I have to do to release it? TIA ~jeff
8
3216
by: Henrik | last post by:
Hi Is there any way to see what the System process is doing? We have developed an application running at a production site to measure and optimize the production. The application needs to be responsive at all times during production. I'm experiencing some problems with my application not responding or responding slow. I suspeced the problem had to do with high CPU utilization
6
6436
by: eric.goforth | last post by:
Hello, I'm calling a VB.NET 2003 dll that's registered in COM+. I've added a reference to it in a VB6 DLL that I'm calling from a Classic ASP page. Previously I was able to attach to my .NET dll and debug it. I haven't been able to do this in a while and I'm thinking that it must be because I've installed VS 2005 on my machine subsequently. So in my C:\Program Files\Microsoft Visual Studio\VB98 directory I added a file called...
0
3093
by: keikoo | last post by:
Hi, I need some help with this control. There's a windows form with a axwebbrowser control inside, so users can navigate to a page and it's necessary to keep the session, because, users will access many times to this site and don't want to log in each time. The process is the following: the form is shown and user navigate through the webbrowser control, the form can be closed and opened many times but the session of the page referenced...
2
12185
by: Kerem Gümrükcü | last post by:
Hi, i have a Process.Start call that fails with 267 Error Code if invoked with another user and password other than the applications user. It is a ordinary piece of code just create a Process Object , fill its StartInfo and then go a process.Start(), It works fine, unless i try to execute the process with another user. Why, what do i have to take care of,...i gt the 267 Win32Exception Code with the Exception thrown,...
0
8472
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8909
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4221
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.