Last post Nov 08, 2013 04:52 PM by bclayshannon
Sep 23, 2009 03:10 AM|longkhtn|LINK
I created a webservice, after that create a winapp, add service references to webservice. I run winapp ok in my local, but I met this error in a test server (about 5 minutes when call webservice)
"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host"
I set <httpRuntime maxRequestLength="1048576"/> for the webservice. The ServiceFunction takes about 10 minutes to complete.
Here is my winapp code.
Sep 23, 2009 06:01 AM|qwe123kids|LINK
Just Chk UR Firewall or any Antivirus is Blocking Your communcation
connect the servcie providr
Sep 23, 2009 05:54 PM|mendhak|LINK
What is the timeout specified in the client's config file and the service's config file?
Sep 24, 2009 11:16 PM|longkhtn|LINK
You can see that in my source code, I set to 2h
Sep 25, 2009 03:23 AM|mendhak|LINK
I suggest you run a trace log. Look at this
page, scroll down halfway. You'll find an XML Node to add to your config file. Then run that method. Run it, wait for it to time out. As you do it, an SVCLog file is created. Once the operation times out, look at the SVCLog file (there's a log viewer
file that already comes with the .NET framework), and at some point, you'll find an exception in there, which should show you why it's happening.
Nov 08, 2013 04:52 PM|bclayshannon|LINK
I see no such thing at that link; the word "trace" does not appear on the page, nor does "SVCLog," and the only XML (which *is*, indeed, about halfway down the page) is not what you state. Is the link wrong? Has the article changed that much over time? Or...???