473,508 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The operation has timed-out & Web Service

I've faced one cunning problem recently: I'm using IIS 6.0 as a web server,
running on 1.1 framework. When i'm accessing my .net web service all goes
fine, until I receive "The operation has timed-out." exeption after some time
of usage. After such occurence all futher calls to web service result in
exception of the same kind. I've tried overriding proxy-class with removing
keep-alive and also switched keep-alive off at the server-side but without
any visible effect.

Any ideas?

Thanks in advance!
Jun 1 '06 #1
2 7638
Are you writing anything to event log?

I remember I had this problem before, end up the problem was that the event
log is full, just changed the setting in the event log then it worked fine
again.

don't know if this can slove your problem, try it.

Gasnic
http://gasnicdev.blogspot.com/

"Dmitry Markin" <Dm**********@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com...
I've faced one cunning problem recently: I'm using IIS 6.0 as a web
server,
running on 1.1 framework. When i'm accessing my .net web service all goes
fine, until I receive "The operation has timed-out." exeption after some
time
of usage. After such occurence all futher calls to web service result in
exception of the same kind. I've tried overriding proxy-class with
removing
keep-alive and also switched keep-alive off at the server-side but without
any visible effect.

Any ideas?

Thanks in advance!

Jun 1 '06 #2
I've also found this in IIS 6.0 Server Log:

2006-06-01 18:56:58 10.0.0.220 POST /LxServiceStateServer/DataServices.asmx
- 80 - 10.0.0.71 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+ Protocol+1.1.4322.2032) 200 0 64 25 678

The strange thing here is that the http status code is 200 (seems to be
fine), yet the win32 status code is 64 (something strange here =)

And here is the tcp trace from the client side:

socket (2764) connected
socket (2764) receiving data asynchronously [len=4096]
socket (2764) set one of its options [level=SOL_SOCKET, optname=4101]
socket (2764) determined its local name [name=10.0.0.71:1828]
socket (2764) determined its peer's name [name=10.0.0.220:80]
socket (2764) sending data synchronously [len=394]
socket (2764) sent 394 bytes of data
POST /LxServiceStateServer/DataServices.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 1.1.4322.2032)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://ns/EmployeesAndDepartmentsList"
Content-Length: 308
Expect: 100-continue
Connection: Close
Host: ns
Cookie: ASP.NET_SessionId=nps1rpfw0wndz4az1kiv0sqb

socket (2764) set one of its options [level=SOL_SOCKET, optname=4101]
socket (2764) received 25 bytes of data
HTTP/1.1 100 Continue

socket (2764) receiving data asynchronously [len=4071]
socket (2764) sending data synchronously [len=308]
socket (2764) sent 308 bytes of data (Incomplete last line)
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><EmployeesAndDepartmentsList xmlns="http://ns" /></soap:Body></soap:Envelope>
socket (2764) will be closed when outstanding asynchronous calls finish
socket (2764) could not receive data - 995 (?]
socket (2724) created [family=AF_INET, type=SOCK_STREAM,
protocol=IPPROTO_TCP, dwFlags=WSA_FLAG_OVERLAPPED]
socket (2724) connecting synchronously [name=10.0.0.220:80]
socket (2724) connected
socket (2724) receiving data asynchronously [len=4096]
socket (2724) set one of its options [level=SOL_SOCKET, optname=4101]
socket (2724) determined its local name [name=10.0.0.71:1869]
socket (2724) determined its peer's name [name=10.0.0.220:80]
socket (2724) sending data synchronously [len=382]
socket (2724) sent 382 bytes of data
POST /LxServiceStateServer/DataServices.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 1.1.4322.2032)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://ns/ReceiveMessages"
Content-Length: 296
Expect: 100-continue
Connection: Close
Host: ns
Cookie: ASP.NET_SessionId=nps1rpfw0wndz4az1kiv0sqb

socket (2724) set one of its options [level=SOL_SOCKET, optname=4101]
socket (2724) received 25 bytes of data
HTTP/1.1 100 Continue

socket (2724) receiving data asynchronously [len=4071]
socket (2724) sending data synchronously [len=296]
socket (2724) sent 296 bytes of data (Incomplete last line)
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ReceiveMessages
xmlns="http://ns" /></soap:Body></soap:Envelope>
socket (2724) will be closed when outstanding asynchronous calls finish
Seems that after 64 error it is impossible for client to resolve server name
neither read/write from socket, neither create new sockets to work with the
current server unless the client application is completely restarted.
Jun 2 '06 #3

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

Similar topics

1
7004
by: David | last post by:
Hi Below is a copy of the top 5 timed events from my statspack. Don't know how to detect what enqueue waited for what. Don't understand Oracle Documentation's description on how to check...
4
1427
by: Wilsoch | last post by:
Non-programmer here again because my developer stinks. I'm desperately seeking a solution to this issue: I need something in the open event on my main form that will cause all of the tables to...
2
1620
by: Javaman59 | last post by:
I have a GUI which is monitoring a real-time device. I have several timed actions, such as periodic polling of the device, and indicators which flash for a fixed period. My first implementation...
6
7106
by: genojoe | last post by:
To my surprise, I could not find an easy way to show a timed message with either MessageBox() or MsgBox(). Here is some code that I tried unsuccessfully: Dim t As New Threading.Thread(New...
2
2139
by: Daniel | last post by:
Hi How do i set a socket to wait for a reply after a set time frame? For example the following scenarios: 1) Give a user 10 seconds to respond after which time send an automatic message to...
1
1620
by: GabrielESandoval | last post by:
I am converting powerepoint presentations to images I want to display as slide shows. My questions is I want it so that when a link is clike the slide show opens. The slides will be initially...
2
3130
by: vide | last post by:
i need help in creating a sort of timed function. my project requires that the user must enter some words in a specified time limit ,sort of a typing speed program where the pgm count how many...
6
1667
by: Hendrik van Rooyen | last post by:
Hi, I want to do the equivalent of the after thingy in tkinter - setting up in effect a timed call back. My use case is as a "supervisory" timer - I want to set up an alarm, which I want to...
2
2545
by: Thomas Ploch | last post by:
Hello folks, I am having troubles with implementing a timed queue. I am using the 'Queue' module to manage several queues. But I want a timed access, i.e. only 2 fetches per second max. I am...
12
4290
by: owestcot | last post by:
I'm working on a simple video game program that will require timed responses. The easiest example I can think of would be something like: char ans; // answer to question (can't remember the...
0
7332
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,...
1
7058
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
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
5635
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4715
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
3191
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1565
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 ...
1
769
muto222
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.