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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:01:30+00:00 2026-05-28T15:01:30+00:00

I am connecting to a WCF service using the technique described by Dan Moyer

  • 0

I am connecting to a WCF service using the technique described by Dan Moyer.

The problem is I am receiving the “Maximum message size quota for incoming messages (65536) has been exceeded.” exception. The maxReceivedMessageSize is set to max value in the ServiceReferences.ClientConfig file in Lightswitch WCF proxy project so I figure it’s not the right place.

Hence my question. Where is the WCF binding’s configuration in a Lightswitch application?

  • 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-28T15:01:32+00:00Added an answer on May 28, 2026 at 3:01 pm

    OK sorry, I found the answer myself!

    It seems that the proxy class actually creates a Binding object itself and doesn’t use the xml configuration.

    What I had to do was set the MaxBufferSize and MaxReceivedMessageSize properties for that binding object, which is then passed to the client class.

    var binding = new BasicHttpBinding
                  {
                      MaxBufferSize = MaxMessageSize,
                      MaxReceivedMessageSize = MaxMessageSize
                  };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the problem: I have a WCF service and a few sites connecting
I am using ksoap2 library for connecting to a wcf web service. When I
I have a WCF rest service using webHttpBinding that returns JSON result. The problem
I'm connecting to a WCF service in an ASP.NET app. I'm logging in using
I've been developing a WCF web service using .NET 3.5 with IIS7 and it
Im creating a simple WCF service for receiving crash reports. The service will run
I'm connecting to a webservice using WCF. I can authenticate on the server correctly,
.NET 3.5, VS2008, WCF service using BasicHttpBinding I have a WCF service hosted in
I'm using WCF service in my application. I need to return a custom object
I'm having a problem with a .NET WCF client connecting to a Java web

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.