I am not sure how to enforce 2 - 3 MB, unless we write our own checks.
Is it ok to set the quotas to XmlDictionaryReaderQuotas.Max
http://msdn.microsoft.com/en-us/library/system.xml.xmldictionaryreaderquotas.maxarraylength.aspx


On Feb 16, 4:17 pm, Ayende Rahien <[email protected]> wrote:
> You can change this.This is something that we have to deal with by change
> the service behavior.
> Right now I am thinking that a size limit of 2 - 3 MB is reasonable
>
> On Mon, Feb 16, 2009 at 11:57 PM, chrisortman <[email protected]> wrote:
>
> > I am try to stick back an object i've retrieved from a webservice call
> > into the DHT and I am getting a failure with this exception:
> > +               InnerException  {"The formatter threw an exception while
> > trying to
> > deserialize the message: There was an error while trying to
> > deserialize parameterhttp://tempuri.org/:valuesToAdd. The
> > InnerException message was 'There was an error deserializing the
> > object of type Rhino.PersistentHashTable.PutRequest[]. The maximum
> > array length quota (16384) has been exceeded while reading XML data.
> > This quota may be increased by changing the MaxArrayLength property on
> > the XmlDictionaryReaderQuotas object used when creating the XML
> > reader.'.  Please see InnerException for more details."}
> > System.Exception
> > {System.ServiceModel.FaultException<System.ServiceModel.ExceptionDetail>}
>
> > The length of my byte[] is 22381, and I got the byte[] by using the
> > XmlMessageSerializer to serialize my message.
>
> > Is this limit intended to be here or can we change it?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to