Web Services Async Method Timeout Help needed...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David M. Nolf

    #1

    Web Services Async Method Timeout Help needed...

    I have a web service that has a method that takes a fair amount of time to
    complete. One of my clients is stating that they are getting a timeout
    back.

    I am having difficulties getting my Windows XP workstation which is running
    the web service and a simple VB.NET test client to timeout on the method.

    I have looked and adjusted the following values with NO effect.

    web.config

    <httpRuntime executionTimeou t="2"/>


    I even created a simple web service, that the method attempts to perform a
    Sleep(100000), and the method never times out.

    Help... I am starting to go crazy here...

    I also looked at the machine.config and also the ScriptTimeout in IIS and
    nothing makes a difference. My method call never times out...

    I need to be able to reproduce a timeout in order to test the effects of the
    timeout on my application code...

    Any help would be very much appreciated,

    Dave



  • Sami Vaaraniemi

    #2
    Re: Web Services Async Method Timeout Help needed...


    "David M. Nolf" <dnolf@computer workware.com> wrote in message
    news:%23mGhwvPk EHA.2812@tk2msf tngp13.phx.gbl. ..[color=blue]
    > I have a web service that has a method that takes a fair amount of time to
    > complete. One of my clients is stating that they are getting a timeout
    > back.
    >
    > I am having difficulties getting my Windows XP workstation which is[/color]
    running[color=blue]
    > the web service and a simple VB.NET test client to timeout on the method.
    >
    > I have looked and adjusted the following values with NO effect.
    >
    > web.config
    >
    > <httpRuntime executionTimeou t="2"/>
    >
    >
    > I even created a simple web service, that the method attempts to perform a
    > Sleep(100000), and the method never times out.
    >
    > Help... I am starting to go crazy here...
    >
    > I also looked at the machine.config and also the ScriptTimeout in IIS and
    > nothing makes a difference. My method call never times out...
    >
    > I need to be able to reproduce a timeout in order to test the effects of[/color]
    the[color=blue]
    > timeout on my application code...[/color]

    Make sure you have <compilation debug="false"/> in Web.config. The
    executionTimeou t value is ignored if you are compiling in debug mode.

    Regards,
    Sami


    Comment

    • David M. Nolf

      #3
      Re: Web Services Async Method Timeout Help needed...

      Sami,

      I do have it set as false. That is the odd thing, I have tried
      everything...

      Dave
      "Sami Vaaraniemi" <samivanospam@p leasejippii.fi> wrote in message
      news:uSF4yuRkEH A.3936@TK2MSFTN GP10.phx.gbl...[color=blue]
      >
      > "David M. Nolf" <dnolf@computer workware.com> wrote in message
      > news:%23mGhwvPk EHA.2812@tk2msf tngp13.phx.gbl. ..[color=green]
      > > I have a web service that has a method that takes a fair amount of time[/color][/color]
      to[color=blue][color=green]
      > > complete. One of my clients is stating that they are getting a timeout
      > > back.
      > >
      > > I am having difficulties getting my Windows XP workstation which is[/color]
      > running[color=green]
      > > the web service and a simple VB.NET test client to timeout on the[/color][/color]
      method.[color=blue][color=green]
      > >
      > > I have looked and adjusted the following values with NO effect.
      > >
      > > web.config
      > >
      > > <httpRuntime executionTimeou t="2"/>
      > >
      > >
      > > I even created a simple web service, that the method attempts to perform[/color][/color]
      a[color=blue][color=green]
      > > Sleep(100000), and the method never times out.
      > >
      > > Help... I am starting to go crazy here...
      > >
      > > I also looked at the machine.config and also the ScriptTimeout in IIS[/color][/color]
      and[color=blue][color=green]
      > > nothing makes a difference. My method call never times out...
      > >
      > > I need to be able to reproduce a timeout in order to test the effects of[/color]
      > the[color=green]
      > > timeout on my application code...[/color]
      >
      > Make sure you have <compilation debug="false"/> in Web.config. The
      > executionTimeou t value is ignored if you are compiling in debug mode.
      >
      > Regards,
      > Sami
      >
      >[/color]


      Comment

      Working...