Timeout Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fred Herring

    Timeout Error

    I have moved a web service from my development machine to a hosting computer.
    Now when I upload large files to this new host I get a timeout exception.
    The web.config file associated with my web service has 360 seconds for time
    and 30mbytes for file size but I continue to get the error. Do I need to
    adjust these parameters in the hosting machine.config file for it to take
    affect?
  • Keenan Newton

    #2
    Re: Timeout Error

    Did you adjust the web site timeout on the IIS virtual folder I know
    its a setting for 2K3

    Comment

    • Fred Herring

      #3
      Re: Timeout Error

      No, but I will check it out. Is this just a property of the virtual folder
      that I can adjust by right clicking on it in IIS?

      Fred Herring

      "Keenan Newton" wrote:
      [color=blue]
      > Did you adjust the web site timeout on the IIS virtual folder I know
      > its a setting for 2K3
      >
      >[/color]

      Comment

      • Fred Herring

        #4
        Re: Timeout Error

        I checked the timeout property associated with a virtual folder. Since the
        default is 20 minutes that cannot be my problem as I am getting the error
        after about 90 seconds.

        I have ajusted the following parameters in both the web.config and
        machine.config

        httpRuntime executionTimeou t="360"
        maxRequestLengt h="30720"

        I continue to timeout when I try to upload data longer than about 90 seconds.

        Fred

        "Keenan Newton" wrote:
        [color=blue]
        > Did you adjust the web site timeout on the IIS virtual folder I know
        > its a setting for 2K3
        >
        >[/color]

        Comment

        • Keenan Newton

          #5
          Re: Timeout Error

          Ummm I thought the default for the timeout was 120 seconds on the the
          virtual folder, ummm can you actually give me (us) the timeout message
          you are getting, most importantly the stack trace, and originator of
          the time out. Are you getting a 500.100 error?

          Comment

          • Fred Herring

            #6
            Re: Timeout Error

            The problem is resolved. It was necessary to set the webxervice.time out
            setting in my code to infinite. That coupled with executiontimeou t settings
            in the web.config file fixed the issue for me.

            Thanks,
            Fred Herring

            "Keenan Newton" wrote:
            [color=blue]
            > Ummm I thought the default for the timeout was 120 seconds on the the
            > virtual folder, ummm can you actually give me (us) the timeout message
            > you are getting, most importantly the stack trace, and originator of
            > the time out. Are you getting a 500.100 error?
            >
            >[/color]

            Comment

            Working...