p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   The underlying connection was closed: (http://p2p.wrox.com/showthread.php?t=4586)

quangvo March 24th, 2009 08:54 PM

RE: The underlying connection was closed
 
This appear to be a webservices error. There is a tool you can use to track the activity of the service call (TcpTrace).

Check out this page for more detail http://connectionstringexamples.com/...nection-closed.

Vince5211 May 13th, 2010 08:58 AM

New Member
 
Hi, i am a new member here.

Great to be part of this. The info here really help alot.

bob.marty January 5th, 2011 12:35 PM

sipVoipSdk
 
I had the similiar problem and finally I found solution:
www.sipVoipSdk.com

SivakumarNatarajan September 21st, 2011 04:26 PM

RE: The underlying connection was closed
 
It may also due to limit on DataContractSerializer with no. of items to serialize/deserialize

You can confirm this by turning on WCF logging with below entries:

<diagnostics>
<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtTransportLevel="true" logMessagesAtServiceLevel="true" />
</diagnostics>

<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="All">
<listeners>
<add name="messages"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:\logs\messages.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>

If it's due to that limitation, you can increase the limit as given in this link:
http://social.msdn.microsoft.com/For...-5926b6cc527c/

All the best..

Siva Natarajan


All times are GMT -4. The time now is 11:30 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.