Hi Friedhelm,
From your description, when consuming an ASP.NET standard webservice hosted
in IIS server, the client will periodically get 504(underlying connection
was closed...) error ,correct?
As you said that you'll get the problem after a runtime of 4 days, do you
mean when the problem occur, the webserver will stop responding or it just
break those requests send at that time but continue work well after that
point? For such "underlying connection closed..." issue, it is mostly
caused by something at server-side or intermediate connection(such as proxy
server ....) and the KB article you mentioned (826210) just mentioned one
of the possible cause, it is due to the server-side ASP.NET application's
web.config execution timeout value is not long enough that make the
webrequest timeout(and close the connection). However, for your scenario,
I think we still need to further track down the issue. Here are some
possible problems I can get and the things you can check:
** Since ASP.NET use threadpool threads to process coming requests, when
thread pool threads are exhausted, it will stop processing new requests
and cause problem. Is your webservice method call long run or will it be
blocked by some certain resource?
** It is also possible that some unhandled exception occured at server-side
that cause application restart will make the service unavailable for some
time and you'll also receive error at that time.
Things to check include the server-side eventlog to see whether ASP.NET
process has ever recycled or you can add code to trace whether the
application will restart periodically. In addition, there are some
performance counters for ASP.NET applications(su ch as Requests timeout/sec
, requests reject/sec, ......), you can lookup those counters and track the
change and trends during the period when the problem will occur.
If there is any further finding, please feel free to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.