Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8659447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:01:02+00:00 2026-06-12T16:01:02+00:00

Iam get an intemittant error when posting to a WCF webservice The exception message

  • 0

Iam get an intemittant error when posting to a WCF webservice

The exception message is 'There was an error deserializing the object of type. The maximum   
string content length quota (8192) has been exceeded while reading XML data.

I have tried various different suggestions but with no luck

Can anyone see what iam missing or doing incorrectly ?

thanks

The config file on the client is

<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0"    sku=".NETFramework,Version=v4.0"/></startup><system.serviceModel>
    <bindings>
        <wsHttpBinding>
            <binding name="WSHttpBinding_IAWSSESService" closeTimeout="00:01:00"
                openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
                maxBufferPoolSize="5242880" maxReceivedMessageSize="655360"
                messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
                allowCookies="false">
                <readerQuotas maxDepth="320" maxStringContentLength="81920" maxArrayLength="163840"
                    maxBytesPerRead="40960" maxNameTableCharCount="163840" />
                <reliableSession ordered="true" inactivityTimeout="00:10:00"
                    enabled="false" />
                <security mode="None">
                    <transport clientCredentialType="Windows" proxyCredentialType="None"
                        realm="" />
                    <message clientCredentialType="Windows" negotiateServiceCredential="true" />
                </security>
            </binding>
        </wsHttpBinding>
    </bindings>
    <client>
        <endpoint address="http://localhost:20930/AWSSESService.svc"
            binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAWSSESService"
            contract="AwsWebService.IAWSSESService" name="WSHttpBinding_IAWSSESService" />
    </client>
</system.serviceModel>
</configuration>

The config file for the web service is

<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
<pages controlRenderingCompatibilityVersion="4.0"/>
  </system.web>
  <system.serviceModel>
<services>
  <service name="CG.Core.EmailService.AWSSESService">
    <endpoint address="" behaviorConfiguration="" binding="wsHttpBinding" contract="CG.Core.EmailService.IAWSSESService" bindingConfiguration="wsHttpDefaultConfig"/>
  </service>
</services>
<bindings>
  <wsHttpBinding>
    <binding name="wsHttpDefaultConfig">
      <reliableSession ordered="true" inactivityTimeout="00:10:00" />
      <security mode="None"/>
    </binding>
  </wsHttpBinding>
</bindings>
<behaviors>
  <serviceBehaviors>
    <behavior>
      <serviceMetadata httpGetEnabled="true"/>
       <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
  </serviceBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="false"     multipleSiteBindingsEnabled="true"/>
  </system.serviceModel>
  <system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<!--
     -->
<directoryBrowse enabled="true"/>
  </system.webServer>
</configuration>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:01:03+00:00Added an answer on June 12, 2026 at 4:01 pm

    I managed to fix this by copying the wshttpbinding from the client and pasting it into the web config file

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

iam trying to get all object's xpath's from loaded page via selenium something similar
I get an intermittent error when calling Message.GetLParam, getting messages sent between processes. I
well iam trying to get version of IE used by user by using $.browser.version
iam developing one application.In that i need to get the music files from the
Iam doing one application in iphone.In this i need to get the browsing history
iam developing one application.In that i need to get the how many music files
Hi iam trying to make an update trigger in my database. But i get
The images iam loading are slightly different sizes. how can i get the smallest
I am trying get all html links within a string and replace them using
I am trying get all html links within a string and replace them using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.