Re: The underlying connection was closed
- From: "John Saunders [MVP]" <john.saunders at trizetto.com>
- Date: Tue, 17 Apr 2007 17:18:28 -0400
"kirk" <nokirkspam@xxxxxxxxxxxxxxxxx> wrote in message
news:OtgzjzRgHHA.4704@xxxxxxxxxxxxxxxxxxxxxxx
John,
1) The solutions I was finding on the web were all based on the 1.1 and
1.0 framework. They involved tweaking the resource.cs file by overriding
the WebRequest method and setting the KeepAlive = false. Basicly, force
the creation of a new connection for every request. I guess that MS had a
support item on it at
'http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b819450' but
they have since removed the topic.
I can't follow the recommend because in VS 2005, there is no resource.cs
file any more. this file is generated on the fly by the .net framework
after deployment.
2) the web service is configured for ssl using a purchased certificate.
When my client hits my ws using https, my call to the 3rd party ws fails
with the error stated. If I allow my client to hit my ws without ssl, my
call to the 3rd party ws works just fine. In both cases I am hitting the
3rd party ws using ssl.
Your call to the 3rd party ws should be independent of how your ws was
called. The information that you were called over an SSL connection simply
should not be able to flow to the call on the 3rd party ws.
Unless, that is, you're doing something to couple the two. For instance, are
you using properties of the Request to set parameters for the call to the
3rd party ws? Look for any way that the information could be leaking from
the call to your client into the call to the other ws.
--
John Saunders [MVP]
.
- Follow-Ups:
- Re: The underlying connection was closed
- From: kirk
- Re: The underlying connection was closed
- References:
- The underlying connection was closed
- From: kirk
- Re: The underlying connection was closed
- From: John Saunders [MVP]
- Re: The underlying connection was closed
- From: kirk
- The underlying connection was closed
- Prev by Date: Re: The underlying connection was closed
- Next by Date: Re: The underlying connection was closed
- Previous by thread: Re: The underlying connection was closed
- Next by thread: Re: The underlying connection was closed
- Index(es):
Relevant Pages
|
Loading