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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:10:51+00:00 2026-06-07T14:10:51+00:00

This is an MVC3 app. I have read and read and read but i

  • 0

This is an MVC3 app. I have read and read and read but i cant figure this out. I am getting the max array length quota error when trying to upload a file to my server. I have gotten this before in my app, and fixed it by increasing it in the web.config.

  <readerQuotas maxDepth="32" maxStringContentLength="2147483647" 
                    maxArrayLength="2147483647" maxBytesPerRead="4096" 
                    maxNameTableCharCount="2147483647"/>

Now im uploading documents via old school asmx services(because i have to, not my decision). I call the asmx services via WCF and i get the max quota error. I can download files that have I uploaded the previous way i was uploading them (stream objects via WCF). So my question is not how do I fix this by changing values in config files, but how do i programatically get the max array length in C#. I wanna see what it is while i’m debugging. 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-06-07T14:10:53+00:00Added an answer on June 7, 2026 at 2:10 pm

    Look at http://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.readerquotas.aspx

    And http://msdn.microsoft.com/en-us/library/system.xml.xmldictionaryreaderquotas.aspx

    The first explains where the property is stored. The second describes the property.

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

Sidebar

Related Questions

ASP.Net MVC3 is cool and all but I have this question more out of
I'm confused by this behavior: I have an out-of-the-box MVC3 app. I haven't really
This is an MVC3 app. I have the following javascript call to my action:
I have an MVC 3 app that I'm building, and need to figure out
I have MVC3 app with form for edit data. This for include only dropdownlist.
I have an ASP.NET MVC 3 app hosted on IIS. This app is using
This is about asp.net mvc3 web application. We have used Object cache to store
This question most closely relates to the asp.net mvc3 framework. It started out as
I'm just learning MVC3 now and this is really confusing me. I have a
In an ASP.NET MVC3 project I have a structure like this: Core.csproj -> 3rdparty1.dll

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.