Search This Blog

Tuesday, 22 February 2011

I am using WCF in my application while binding the records from the WCF to my application. the below error occours.

<
<
<
system.serviceModel>bindings>wsHttpBinding><binding name="WSHttpBinding_ISerProductLib" closeTimeout="00:01:00"openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"maxBufferPoolSize="524288" maxReceivedMessageSize="65536"messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
Answer:
Increase the size of maxbufferpoolsize and maxreceivedmessagesize in config file of client application. as bellow.

<
<
<
system.serviceModel>bindings>wsHttpBinding><binding name="WSHttpBinding_ISerProductLib" closeTimeout="00:01:00"openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"

No comments:

Post a Comment