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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:10:55+00:00 2026-05-24T05:10:55+00:00

I have been encountering issues with a custom WCF service deployed to SharePoint 2010.

  • 0

I have been encountering issues with a custom WCF service deployed to SharePoint 2010. I’m receiving the following error when trying to import some data into the client:

'Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. '. 

I have attempted to make a number of changes using the mechanism outlined on http://shaunedonohue.blogspot.com/2011/03/reader-quotas-for-wcf-services-in_4706.html, but I am still receiving this error – these quota settings do not seem to have bearing on the MaxItemsInObjectGraph setting. Changing this setting in the ServiceBehaviour attribute of the service does not seem to work either.

Has anyone encountered this issue before?

  • 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-24T05:10:55+00:00Added an answer on May 24, 2026 at 5:10 am

    I was able to resolve this issue by following the steps outlined in How to fix MaxItemsInObjectGraph error?, in addition to the information from Shaune’s blog. That is to say:

    • The WCF ServiceBehavior attribute required the MaxItemsInObjectGraph to be set as follows:

      [ServiceBehavior(Namespace = "http://www.mydomain.net/MyApp/SharePoint", Name = "MySharePoint2010Service", MaxItemsInObjectGraph = 65536000)]
      
    • The client needed to be updated to change the serialization behaviour as outlined in the above issue, before the channel was created.

    I have not been able to find anyone else who has encountered this issue with SharePoint 2010 before, but hopefully this should help someone out in the future. SharePoint’s dynamic configuration is not quite comprehensive enough to cover all WCF settings, but it is still much preferred to manually updating web.config files throughout the farm.

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

Sidebar

Related Questions

I have been encountering this error for my project, which involves working with Digital
I have been searching everywhere for the following functionality in Lisp, and have gotten
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have been encountering an issue with inserts in EF 4.0. During a migration
Have been pulling out my hair trying to find out why my sessions are
I have been trying to register 3 hotkeys. I followed this example (or this
I have been trying to research how solr works when documents like doc or
Have been playing with WCF IIS & self hosted solution (i think i said
Have been struggling all day trying to make this simple example work using socket.io.
I have been trying this for so long, but was not able to implement

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.