Timeout while sending large amount of data with WCF client

I've call to Java WebSeal Web "enveloped" by WCF Client. Sending large XML (about 60k) as a parameter cause an error and received one of these messages:

System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

OR

System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been
a portion of a longer timeout.

Interaction with same webseal service configured as asmx service doesn't cause any errors.

More Related Resource Links

I've call to Java WebSeal Web "enveloped" by WCF Client. Sending large XML (about 60k) as a parameter cause an error and received one of these messages:

System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

OR

System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been
a portion of a longer timeout.

Interaction with same webseal service configured as asmx service doesn't cause any errors.

Hi Guys
I have posted the following on www.asp.net but thought it might be productive posting here too.I have been pulling my hair out trying to fix an issue with sending data over WCF, I have read pretty much every THREAD on this forum regarding or similar to this issue without any successful solution.
I have a simple data object which has a [DataMember] with a data type of byte[]. I use this to send binary data from my web app as follows:
Asp.net MVC website --> WCF Client (Has my Service References) --> My Services (MyServices.svc) --> Business/Data Tier
Everything is being executed from within VS 2008 Pro.
Now I have successfully sent data up to 2.2MB, however it fails if i try and send a file such as 2.3MB or larger i get the following exceptions:
General Exception
Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at SoftApp.WCFClient.MyServiceReference.IMyService.Document_Save(DtoDocument dtoDocument, Int32 usercode) at SoftApp.WCFClient.MyServiceReference.MyServiceClient.Document_Save(DtoDocument dtoDocument, Int32 usercode) in c:\dev\softapp\softapp.wcfclient\service references\myservicereference\refe

Good day all,
I'm sure this question is relatively simple, but I'm quite new to WCF (been on a Java project the last few years and it's nice to be back in MS territory even if a lot has changed!).
Anyway, here's all the details of my scenario I was hoping someone could shed some light on.
1) This WCF service is hosted as a webservice and is being testing in the WCF Test Tool.
2) There is a method call on the service that, while rarely used, can return a fair amount of data (over 20,000 objects) - this is a requirement of the system
3) The object that is being serialized has the following signature/contract (property changed for example):
[DataContract]
public class Foo
{
private string prop1;
[DataMember]
public string Prop1
{
get { return prop1; }
set { prop1= value; }
}
private string prop2;
[DataMember]
public string Prop2
{
get { return prop2; }
set { prop2= value; }
}
private string prop3;
[DataMember]
public string Prop3
{
get { return prop3; }
set { prop3= value; }
}
private string Prop4;
[DataMember]
public string FaaCode
{
get { return prop4; }
set { prop4= value; }
}
private string prop5;
[DataMember]
public string Prop5
{
get { return prop5; }
set { prop5= value

I want to send a file by converting it into binary file to the client end and then it should be read by javascript which again I am passing to the OCX method.(like my OCX method accept only the binary data so i have to transmit binary data from server side to client).

Currently, I am exploring options for sending data to the client. What I am hoping for is suggestions, or a pros and cons feedback.

What I am wanting to do is query the database then send this data to a web service ( or maybe wcf ). Once there, jquery ( or another JS library ) will utilize this data to fill a grid/tree/form depending. This all seems very very basic, but what concerns me is the amount of data that can be sent. I have seen some grids that have 16K records...and what worries me is that would be WAY too much data to send.

I was just wondering how these things are handled. My current thoughts are to do a 'onDemand' loading, but my inexperience has me second guessing. Also, I know this isn't directly related to jquery, but I notice there are a lot more examples with wcf rather than webmethod/web services. Is there a reason why? Is wcf better for these types of things?

Silverlight 2 applications are restricted to running inside a browser. However, Silverlight 3 applications can run inside the browser or out. Here we build a social networking app as a standalone Silverlight 3 application.

SQL Server 2005 introduces a lot of new features, but it also enhances the popular and oft-used Transact-SQL (T-SQL) language. Changes include the introduction of new datatypes to store large values using the MAX indicator, the integration of enhanced XML querying and data modification with XQuery, and the new XML datatype.

Application performance involves more than just speed. In a Web server environment, top performance also means ensuring that the maximum numbers of users can be served concurrently. This can be accomplished through efficient use of multiprocessor machines and thread management. This article presents techniques that can solve a number of concurrency problems. One approach, using thread management, controls access to a database on a per-thread basis, which protects the integrity of the data. In the article, reusable thread classes are built and presented. The classes are then tested and their performance in a live environment is examined.

I have a web page that displays a listing of links. A treeview control displays a hierarchy of tags with checkboxes that act as filters... when checked, the list is 'filtered'. This all works fine but what I really need is for this page to be lightning fast. Right now, checking a box fires an event and a postback, etc. I'm wondering if there is a way to do all of this on the client side. For example, could you start out with a complete listing (dataset) of all possible hyperlinks, and then apply filters to that list all on the client side so as to eliminate any lag/postback?

I have a Ajax Accordion control on my page with treeview in Content Template. As the treeview for each pane are big. I am wondering whether I can load the treeview from codebehind only after the pane is selected. I can reuse the code from ItemDataBound of Accordion control.

Hey Guys,
I am creating a SSIS package, where I am getting all the data into the excelsheet1, which is not formatted.
So i created a formated excelsheet2, where i am giving reference to excelsheet1 cells reference.
And I am sending email by attaching excelsheet2.
I am having issue when the data is updated, but my email attachment excel is showing old data. When i open the excelsheet1 it is being updated. I don't know why excelsheet2 is not updated automatically. I am using BIDS 2005 . Can anyone please suggest what will solve my problem.
Thanks in Advance
Priyamvadha

Hi All,
I got a requirement that to display bulk amount data in a List (Around 50000 items).
Can any one of you suggest me best performance way?(Displaying this amount data would definitely leads to performance issue).
Let me know if you have any Queries.
Regards,
Kumar.

I'm ok (I think) with using a data bound Custom Control on the server to get hold of my data (it will be part of a larger dataset) and to ultimately pass updates to the database. The bit I'm researching at the moment is passing that data to and from the client.
One way to pass the data to the client is to use JSON within the Pageload event to construct a set of Javascript objects (one per row in the data). Is that the best way, or am I missing something?
Then, after the data has been manipulated on the client, I need to pass the rows back again so that the server side code can pick them up and process the updates. I've seen a suggestion on here that a hidden text field is one way to do that. Is it the best?
Neither of my approaches seem to be at all elegant - and I suspect that I am missing something fundamental in ASP .NET AJAX!
Thoughts welcome,
Thanks,
Nick