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

  • Home
  • SEARCH
  • 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 3997464
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:24:19+00:00 2026-05-20T07:24:19+00:00

I am using Message security and windows credential type. I am not using streaming

  • 0

I am using Message security and windows credential type. I am not using streaming and Mtom for some reason right now but might consider in the future. So far WCF service documentation specifies that you can transfer max up to 2GB of data. I am thinking if I can transfer 20-40 MB of data according to WCF specification, that will work for me now even though this is bad for now.

I can transfer data up to 10MB from WCF Service to Client but when I try to increase more than 10MB something is stopping it from transferring data from server to client and I don’t know what.
I am transferring collection of objects from Web Service to Client.
When data doesn’t transfer from Server to Client, I don’t get any error message, this is very weird. When I set below transfer sizes to 10MB in client and server binding properties, I can transfer around collection of 1650 objects but when its around 1900, I don’t get anything on client ???? WHY ????

Just to make it work I set all require property to max and its still not working.
Below is what I have in Client:

<ws2007HttpBinding>
      <binding name="CustomizeWs2007HttpBinding" sendTimeout="00:10:00" closeTimeout="00:10:00"
          openTimeout="00:10:00" messageEncoding="Text" receiveTimeout="00:10:00"
          maxBufferPoolSize="0"
          maxReceivedMessageSize="2147483647"
          >
          <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647"
                         maxBytesPerRead="4096" />
          <security mode="Message">
             <message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true"/>
          </security>
      </binding></ws2007HttpBinding>

Below is what I have in WCF Service(Server):

<ws2007HttpBinding>
      <binding name="KerberosBinding" maxBufferPoolSize="0" maxReceivedMessageSize="2147483647"
               messageEncoding="Text" sendTimeout="00:10:00" closeTimeout="00:10:00"
          openTimeout="00:10:00">
        <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647"
                         maxBytesPerRead="4096" />
        <security>
          <message negotiateServiceCredential="true" establishSecurityContext="true"/>
        </security>
      </binding></ws2007HttpBinding>

I hope somebody has an answer.
Thank you so much in advance.

Thank you Chris, its working now and Thank you for all others for your response.
I am a new member to this site so don’t know where to put my final solution, anyway its pasted below:.

15728640 = 15MB
10485760 = 10MB though its too big

Client Config:

<behaviors>
  <endpointBehaviors>
    <behavior name="PServiceBehavior">
      <dataContractSerializer maxItemsInObjectGraph="10485760"/>
    </behavior>
  </endpointBehaviors>
</behaviors>

and reference it from endpoint:

<endpoint address="http://localhost:53054/pservicehost/pservice.svc"

binding=”ws2007HttpBinding” bindingConfiguration=”PServiceWs2007HttpBinding” behaviorConfiguration=”PServiceBehavior”
contract=”PWebServiceContract.IPService” name=”PServiceWs2007HttpBindingEndPoint”>

Service Config:

<behaviors>
  <serviceBehaviors>
    <behavior name="PServiceHost.PServiceBehavior">
   <serviceMetadata httpGetEnabled="true" />
   <serviceDebug includeExceptionDetailInFaults="true" />
   <dataContractSerializer maxItemsInObjectGraph="10485760"/>
    </behavior>
  </serviceBehaviors>
 </behaviors>

and reference it from service:

<services>
   <service behaviorConfiguration="PServiceHost.PServiceBehavior"  name="PWebService.PService">
  <endpoint address="" binding="ws2007HttpBinding" bindingConfiguration="KerberosBinding" contract="PWebServiceContract.IPService">
  <identity>
      <dns value="localhost" />
  </identity>
  </endpoint>
  <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  </service>
   </services>
  • 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-20T07:24:20+00:00Added an answer on May 20, 2026 at 7:24 am

    Maybe it has something to do with this throttle setting:

    <dataContractSerializer maxItemsInObjectGraph="..."/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating an email message using CDO object (and VB6, but that doesn't really
I'm using log4net to log write log message to a rolling log file. Now
What are the motivations for using a message based system? I'm seeing a lot
I'm trying to send an email message using the .NET MailMessage class which can
I'm trying to define a task that emits (using echo) a message when a
I have an MDI application. When I show a message box using MessageBox.Show(), the
I am using MailLogger to send a message about a failed/successful release. I would
Sending a message from the Unix command line using mail TO_ADDR results in an
I get this message: Cannot find the X.509 certificate using the following search criteria:
I am using Visual Studio 2008 and I get the following error message when

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.