Hi Experts,
Our existing WCF service giving an error.
The error is as follows:
- ex {"The maximum message size quota for incoming messages (6354600) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element."} System.Exception {System.ServiceModel.CommunicationException}
After changing the following value 999999999 to everywhere in the following binding
<bindings>
<customBinding>
<binding name="SilverlightBinaryBinding">
<binaryMessageEncoding>
<readerQuotas maxStringContentLength="999999999" maxArrayLength="999999999" maxDepth="999999999"/>
</binaryMessageEncoding>
<httpTransport maxReceivedMessageSize="999999999"/>
</binding>
</customBinding>
<basicHttpBinding>
<binding name="CustomBasicHttpBinding" maxReceivedMessageSize="6355600"/>
<binding name="CumulusWS8PortBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="999999999" maxBufferPoolSize="999999999" maxReceivedMessageSize="999999999"
messageEncoding="Mtom" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="999999999" maxStringContentLength="999999999" maxArrayLength="999999999"
maxBytesPerRead="999999999" maxNameTableCharCount="999999999" />
then it throws the following error
{System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)}
I am stuck into here. What should i will do to resolve it?
Please help me out.