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 6873717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:06:14+00:00 2026-05-27T04:06:14+00:00

This question has to do with my previous question where I get errors trying

  • 0

This question has to do with my previous question where I get errors trying to save varbinary to my database through a web service.

I increased the maxArrayLength etc.. to send through to the server which works like this (in web.config):

<binding name="OndernemersAward.Web.Service.EditAfbeeldingService.customBinding0">
    <binaryMessageEncoding>
       <readerQuotas maxDepth="32"
          maxStringContentLength="2147483647"
          maxArrayLength="2147483647"
          maxBytesPerRead="2147483647"
          maxNameTableCharCount="2147483647" />

    </binaryMessageEncoding>                  
    <httpTransport />
  </binding>

But when I try to do this in my ServiceReferences.clientconfig

<binding name="CustomBinding_EditAfbeeldingService">
      <binaryMessageEncoding>
      <readerQuotas maxArrayLength="2147483647" maxNameTableCharCount="2147483647"
          maxStringContentLength="2147483647" maxDepth="2147483647"
          maxBytesPerRead="2147483647" />
      </binaryMessageEncoding>
      <httpTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"/>
  </binding>

I get the following error:

The element ‘binaryMessageEncoding’ cannot contain child element ‘readerQuotas’ because the parent element’s content model is empty.

I’m just trying out things to try and fix the error I’m getting in my previous question, because I’m getting quite desperate. 😛

I hope somebody can help me,
Thanks

  • 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-05-27T04:06:15+00:00Added an answer on May 27, 2026 at 4:06 am

    There are no reader quotas in Silverlight (in other words, they’re all already max’d out), so your config is equivalent to the one below:

    <binding name="CustomBinding_EditAfbeeldingService"> 
      <binaryMessageEncoding/> 
      <httpTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"/> 
    </binding> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Note: This question has broadened in scope from previous revisions. I have tried to
This question follows on from a previous question, that has raised a further issue.
This question might seem a repeat of previous ones. I have read through a
I know this question has been asked before, but none of the previous answers
This question has been asked before ( link ) but I have slightly different
This question has been discussed in two blog posts ( http://dow.ngra.de/2008/10/27/when-systemcurrenttimemillis-is-too-slow/ , http://dow.ngra.de/2008/10/28/what-do-we-really-know-about-non-blocking-concurrency-in-java/ ),
This question has spawned out of this one. Working with lists of structs in
This question has been asked in a C++ context but I'm curious about Java.
This question has been puzzling me for a long time now. I come from
This question has in the back of my mind for some time, sorry if

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.