Silverlight and WCF issue
-
Hi, I have developed an application using Silverlight3 and WCF where I am fetching some data from database and binding to a datagrid.For small resultsets the application is working fine.But for large resultsets it gives an error at EndGet Method. I checked the buffersize,maxReceivedMessageSize,receiveTimeout,closeTimeout, openTimeout,sendTimeout.All are set to suitable values. Can anyone help on this issue? CC26
-
CrazyCoder26 wrote:
I checked the buffersize,maxReceivedMessageSize,receiveTimeout,closeTimeout, openTimeout,sendTimeout
Increase sendTimeout to a bigger value and try again.
<binding name="BasicHttpBinding_IOMSService" closeTimeout="00:50:00"
openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00"
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>maxbufferSize,maxReceiveSize is set to the maximum integer value. senTimeout,receiveTimeout are given.....do I really need to increase them??plz look at the values for them.... CC26
-
Increase those values according to your requirement, then it'll work.
Arun Jacob http://codepronet.blogspot.com/
<pre> <binding name="BasicHttpBinding_IOMSService" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"> <security mode="None" /> </binding> </pre> maxbufferSize,maxReceiveSize is set to the maximum integer value. senTimeout,receiveTimeout are given.....do I really need to increase them??plz look at the values for them.... CC26
-
<binding name="BasicHttpBinding_IOMSService" closeTimeout="00:50:00"
openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00"
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>maxbufferSize,maxReceiveSize is set to the maximum integer value. senTimeout,receiveTimeout are given.....do I really need to increase them??plz look at the values for them.... CC26
-
<pre> <binding name="BasicHttpBinding_IOMSService" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"> <security mode="None" /> </binding> </pre> maxbufferSize,maxReceiveSize is set to the maximum integer value. senTimeout,receiveTimeout are given.....do I really need to increase them??plz look at the values for them.... CC26
Whats the exception you are getting?Can you give some info about exception.
Arun Jacob http://codepronet.blogspot.com/
-
Increased the sendTimout to 10:20:00....but still getting error CC26
-
Whats the exception you are getting?Can you give some info about exception.
Arun Jacob http://codepronet.blogspot.com/
I am testing using Fiddler...for large results (a table with 114 columns and 3880 rows i need that to return), it says connection closed unexpectedly CC26
-
CrazyCoder26 wrote:
I checked the buffersize,maxReceivedMessageSize,receiveTimeout,closeTimeout, openTimeout,sendTimeout
Increase sendTimeout to a bigger value and try again.
I checked the WCF with Fiddler...for large resultsets it also throws an exception saying "the connection closed unexpectedly". CC26
-
It seems Mr.Abhinav has given up my Issue!!!! CC26
-
It seems Mr.Abhinav has given up my Issue!!!! CC26
CrazyCoder26 wrote:
It seems Mr.Abhinav has given up my Issue!!!!
Try enabling gzip compression on the service. If that does not work, I give up! :) And I hope you increased the
maxbuffer
size in your config file.modified on Monday, April 26, 2010 7:26 AM