asp.net - How to fix "System.Net.WebException: The operation has timed out" error from .Net 1.1 Framework -
our asp.net 1.1
webservice application hosted in windows 2003 server
. .net
windows service application calling webservice hosted in above server every 30 seconds.
we have added retry call mechanism if network error happens while calling web service.
we getting below exception client application while calling web service:
system.net.webexception: operation has timed out @ system.web.services.protocols.webclientprotocol.getwebresponse(webrequest request) @ system.web.services.protocols.httpwebclientprotocol.getwebresponse(webrequest request) @ system.web.services.protocols.soaphttpclientprotocol.invoke(string methodname, object[] parameters)
after error generated, in next attempt execute out error.
on research, have found "this caused stale dns entry proxy or if request not received before socket times out." below link http://blogs.msdn.com/b/jpsanders/archive/2009/01/07/you-receive-one-or-more-error-messages-when-you-try-to-make-an-http-request-in-an-application-that-is-built-on-the-net-framework-2-0.aspx
instead of doing workaround in code or in configuration, how can find exact root cause of problem?
Comments
Post a Comment