asp.net application timeout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smalcat
    New Member
    • Jan 2007
    • 4

    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 ApplicationTime out (if it even exists).

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

    Both with little success
  • radcaesar
    Recognized Expert Contributor
    • Sep 2006
    • 759

    #2
    No, Its not app sesstion its web service timeout.

    set the Timeout property of bebservice to -1

    Webservice1.Tim eout=-1;

    Comment

    • smalcat
      New Member
      • Jan 2007
      • 4

      #3
      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?

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Originally posted by smalcat
        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.

        Comment

        • smalcat
          New Member
          • Jan 2007
          • 4

          #5
          Originally posted by Plater
          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.

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            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)

            Comment

            • smalcat
              New Member
              • Jan 2007
              • 4

              #7
              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

              : )

              Comment

              • Plater
                Recognized Expert Expert
                • Apr 2007
                • 7872

                #8
                Hmm, I don't appear to have that in my IIS.
                Are you running IIS 6 or something?

                Comment

                Working...