.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> WCF >> Post New QuestionBookmark and Share Subscribe to Forum

The socket connection has been disposed

Posted By: SureshM     Posted Date: June 15, 2012    Points:5   Category :WCF
Hi , I am using net.Tcp binding configuration and I tried to c get the result connecting with a client, its throws an exception as
The socket connection has been disposed.
And I increased the timeout periods and max of object lentgh. even I am getting the same error. Please anyone help me...

Responses
Author: Amit Mehra             
Posted Date: June 19, 2012     Points: 20   

Hi,

Please refer this link for the solution

Set the maxItemsInObjectGraph property to higher

Ref : http://social.msdn.microsoft.com/forums/en-US/wcf/thread/502b5afa-d068-4e64-bc36-62f1c2444ac2/

Thanks,
Amit
Please "Mark As Answer " if this post help you.
Author: SureshM             
Posted Date: June 22, 2012     Points: 20   

Hi Amit,

Thanks for your reply. And i have set the maxItemsInObjectGraph as below.

maxItemsInObjectGraph="2147483646"


Even i got the excepion as the socket conection disposed.

Could you please advice me on this issue ?



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend