Re: The underlying connection was closed



"kirk" <nokirkspam@xxxxxxxxxxxxxxxxx> wrote in message
news:uip$7TQgHHA.4916@xxxxxxxxxxxxxxxxxxxxxxx
Environment:
c#, Framwork 2.0, Win2003 server, IIS 6.0, Copy deployment (uncompiled
source code deployed to server)

I have written a web service that calls another web service. The ws I am
calling is third party, but written in .net (unknown framework version).
I am calling the 3rd party ws over https.
When my ws is called without ssl everything works great. However, when my
client is calling my ws using https, I get the following error:

The underlying connection was closed: An unexpected error occurred on a
receive.
System.Net.WebResponse GetWebResponse(System.Net.WebRequest)
...

I won't post the entire stack trace for size reasons.
The error will only pop up after a number of days of everything working
just fine. No changes on the server or the source code.

I have seen a number of 'solutions' to this problem, but they all apply to
1.0 and 1.1 frameworks.

What did those solutions say was the cause of the problem?

Does anyone know why this is happening and what I can do about it in 2.0?

I don't know for sure what's happening, but does your web server have SSL
configured?
--

John Saunders [MVP]


.



Relevant Pages

  • RE: Asynchronous Web Service Method Failure
    ... this is an ASP page calling the ... >that pops up if the proxy can't reconcile the web method parameters. ... I cannot return a .pdf document object from a web service method ... >> On the server side, it's not a background thread any more than any other ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • The underlying connection was closed
    ... I have written a web service that calls another web service. ... calling is third party, but written in .net. ... No changes on the server or the source code. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: 404 error from web service
    ... - The web service you are calling doesn't provide a mapping for the ... The web server itself is not properly configured with the .NET framework ... The client and the server are not running with the same web service ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: web server outbound calls, from which tier?
    ... Why don't you write another web service on your web server, that can be called up from your application server (third party component), and this service would just forward the calls to the external webservice, and return back the results. ... we have a presentation tier that is ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Tools for WebServices
    ... what does happen when the WebService i'm calling is being invoked. ... is there any tool (either in VS.Net or from third party) ... Or you can open the web service in IE - it should provide more convenient to use information. ...
    (microsoft.public.dotnet.framework.webservices)