Posting large amounts of data RRS feed

  • Question

  • I am trying to send some pictures as a binary array through ADO.NET Data Services. It works fine for small pictures, but fails for larger pictures. I created the following int the web.config, but to no avail.

          <service behaviorConfiguration="SSServiceTypeBehaviors"
            <endpoint binding="webHttpBinding" bindingConfiguration="userHttp"
            <behavior name="SSServiceTypeBehaviors">
              <serviceMetadata httpGetEnabled="true" />
            <binding name="userHttp">
              <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
              <security mode="None" />

    I tried Nikhil's Web Developer Helper and I get a status code 400 back and a response size of 0. When I double click the entry, I get a NullReferenceException from his tool.

    Any ideas?

    Wednesday, July 29, 2009 6:48 PM


All replies