Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. WCF resricts on MaxArrayLength

WCF resricts on MaxArrayLength

Scheduled Pinned Locked Moved C#
helpcsharpdatabasewcfdata-structures
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amit Sk Sharma
    wrote on last edited by
    #1

    I have created one windows application to communicate with WCF service. I am providing one array of bytes(saving a file into DB through WCF). It works fine. Issue occures when size of my file exeeds 16KB i.e. 16384(Dafault Max Array length) Issue is I have already set the maxArrayLength to 2147483647 but still application goes with default(16384) and gives me an error.I am puzzeled that from where it's taking this default value when I have made changes in my local app.config. Please do help me if any one knows a walk-through.

    With Thanks & Regards Amit Sk Sharma

    P 1 Reply Last reply
    0
    • A Amit Sk Sharma

      I have created one windows application to communicate with WCF service. I am providing one array of bytes(saving a file into DB through WCF). It works fine. Issue occures when size of my file exeeds 16KB i.e. 16384(Dafault Max Array length) Issue is I have already set the maxArrayLength to 2147483647 but still application goes with default(16384) and gives me an error.I am puzzeled that from where it's taking this default value when I have made changes in my local app.config. Please do help me if any one knows a walk-through.

      With Thanks & Regards Amit Sk Sharma

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      One forum, and one forum only. You have been a member long enough to know that you ask the question in one forum only.

      I'm not a stalker, I just know things. Oh by the way, you're out of milk.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Onyx

      A 1 Reply Last reply
      0
      • P Pete OHanlon

        One forum, and one forum only. You have been a member long enough to know that you ask the question in one forum only.

        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Onyx

        A Offline
        A Offline
        Amit Sk Sharma
        wrote on last edited by
        #3

        Agreed n sorry, but I saw WCF later when I had already put this question in C#. as it's related to WCF so I put there. as a moderator u can remove it from C#.

        With Thanks & Regards Amit Sk Sharma

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups