Timeout waiting for an answer in TCPClient

Q

QDL

Hello everyone,

I have an ASPNET app which connects using a TCPClient to a Windows Service
and exchanges some data. I have installed this app many times on different
production boxes without problems.

On one particular Windows 2003, the ASPNET app gives me this error (actually
it is logged on a personal text log file):

"System.IO.IOException: Unable to read data from the transport
connection. ---> System.Net.Sockets.SocketException: A connection attempt
failed because the connected party did not properly respond after a period
of time, or established connection failed because connected host has failed
to respond"

This happens after the connection has been established. (Client.connect)

The app still works because I have put up a loop which retries after waiting
half a sec. But they (users) complain it is to slow (15-20 seconds after
click). I tried increasing RXTimeout but to no avail.

The very same routines work ok if called from a WindowsForms app, so the
problem must be in ASPNET or, better IIS... Users say it started to have
this problem since a couple of months, without anyone installing anything...
Very, very weird.

I do not have access to the 2003 box, but I think it might miss latest
patches or even be without SP1...

Thanx in advance
Paolo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top