473,473 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 executionTimeout="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

Nov 21 '05 #1
2 5308

"David M. Nolf" <dn***@computerworkware.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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 executionTimeout="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...


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

Regards,
Sami
Nov 21 '05 #2
Sami,

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

Dave
"Sami Vaaraniemi" <sa**********@pleasejippii.fi> wrote in message
news:uS**************@TK2MSFTNGP10.phx.gbl...

"David M. Nolf" <dn***@computerworkware.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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 executionTimeout="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...


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

Regards,
Sami

Nov 21 '05 #3

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

Similar topics

1
by: Mark Smith | last post by:
Hi , Is it possible in .Net to define a async timer callback. What I am wanting to do is declare a time-out condition that gets executed should the something timeout. The reason I want to do...
10
by: Shawn Meyer | last post by:
Hello - I am trying to write a class that has an async BeginX and EndX, plus the regular X syncronous method. Delegates seemed like the way to go, however, I still am having problems getting...
1
by: jonathan | last post by:
I need to create a webpage that asynchronously loads a series of user controls onto a page. If the user control take longer than X seconds to load it should display an error message in it place....
3
by: hufaunder | last post by:
I am going to write a smart client application. This application will be used both on an intranet as well as over the internet. Among other things, the application needs to be able to tell the...
3
by: lai_waiman | last post by:
Dear All, I have problems on doing some long lasting job in a web services. Let me first provide some background information first. I have a ASP.NET web page, which will call another Web...
11
by: atlaste | last post by:
Hi, In an attempt to create a full-blown webcrawler I've found myself writing a wrapper around the Socket class in an attempt to make it completely async, supporting timeouts and some scheduling...
1
by: Ryan Liu | last post by:
Hi, I have a 100 clients/ one server application, use ugly one thread pre client approach. And both side user sync I/O. I frequently see the error on server side(client side code is same, but...
10
by: ColoradoGeiger | last post by:
I have a fairly standard server application that I am using asynchronous socket calls to make connections, send and receive data, and all of that jazz. No blocking methods was my goal in writing...
4
by: dlc9s | last post by:
Hi All, I have a JSR 168 portlet that I need to call a J2EE 1.4 JAX-RPC Web Service. I'm using Oracle 10g JDeveloper. (I don't have a choice about this). It works when I call the sync method, but...
0
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,...
0
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,...
0
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...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.