473,320 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

asp.net application timeout

I have created an asp.net webservice in c#.

Problem is the following. I am using ... Application[myVar] ... which provides me a global variable for all the users. To load the variable takes 1 min since it is quite big (2.2Gb).

Every 20 min it gets timedout and i would like to make it permanent or at least couple days to timeout. Is there a way to do that?

I have hard time to figure out where I set SessionTimeout and where ApplicationTimeout (if it even exists).

I tried changing Web.Config:
<sessionState timeout="1000" />
And changing various timeouts in iis manager

Both with little success
Oct 30 '07 #1
7 1071
radcaesar
759 Expert 512MB
No, Its not app sesstion its web service timeout.

set the Timeout property of bebservice to -1

Webservice1.Timeout=-1;
Oct 30 '07 #2
Where do I do that?

Shurly not where I use it. I mean that timeout is supposed to be how long you are prepared to wait for webservice. Or am i wrong?
Oct 30 '07 #3
Plater
7,872 Expert 4TB
Where do I do that?

Shurly not where I use it. I mean that timeout is supposed to be how long you are prepared to wait for webservice. Or am i wrong?
If your application has not been used for X amount of minutes (by anyone) it auto-shuts itself down. I don't however, remember where you can set that setting.
Oct 30 '07 #4
If your application has not been used for X amount of minutes (by anyone) it auto-shuts itself down. I don't however, remember where you can set that setting.
Exactly. I would really like to learn where I could set this.
Oct 31 '07 #5
Plater
7,872 Expert 4TB
It might be linked in with the Session handling. If the last session "expires" then it turns off?
That's the only other timing I could find (besides connection timeout)
Oct 31 '07 #6
I found it. I am posting in the event someone will have the same problem.

IIS Manager -> (ComputerName) - > Application Pools -> (right click) Properties -> (tab) Performence -> deselect Idle timeout checkbox or change time in minutes

: )
Oct 31 '07 #7
Plater
7,872 Expert 4TB
Hmm, I don't appear to have that in my IIS.
Are you running IIS 6 or something?
Nov 1 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: MrLr | last post by:
Greetings, I have an ASP web application that is written in VBScript, uses MS Access 2000 for record storage, and is running on a Windows 2000 Professional SP4 computer with IIS 5. The...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
5
by: Homer J. Simpson | last post by:
Hi, Any idea to get the -REAL- number of active users -WITHOUT- this kind of code ? ---------------------------------------------------------------------------- --------- Sub Session_OnStart...
8
by: TrtnJohn | last post by:
I have an application where I would like to block waiting on an asynchronous event and still process messages. I can implement a hard loop to block such as: Do While StillWaiting...
13
by: Amjad | last post by:
Hi, Is there an equivalent to the "Application.Doevents" method in modules or Windows services? I want to make a Windows service that calls a DLL. The DLL would have all my functions and it...
2
by: WB | last post by:
Hi, I have a Windows Application in C# that has some long-running codes. When I tried to run the program in debug mode, it eventually gave an error: Timeout expired. The timeout period elapsed...
10
by: Atul Shukla | last post by:
Hi, How can I avoid application timeout? Generally a web application time out is 20 minutes, however, we can define this timeout in web.config to any number of minutes. After giving 500 minutes of...
4
by: benjaminkang | last post by:
I'm very new to Coldfusion and action script, but due to job requirements, i got allocated the task of developing a cfm page where the user logs in using the embedded swf file and everything was...
0
by: benjaminkang | last post by:
I'm very new to Coldfusion and action script, but due to job requirements, i got allocated the task of developing a cfm page where the user logs in using the embedded swf file and everything was...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.