Saturday, 15 September 2012

.net - Over MaxStringContentLength? -



.net - Over MaxStringContentLength? -

i have .asmx webservices, imported service reference on .net 4.5.

they download xml string, , seek process xmldocument.

well, error: the maximum string content length quota (8192) has been exceeded while reading xml data. quota may increased changing maxstringcontentlength property on xmldictionaryreaderquotas object used when creating xml reader

how can prepare trouble? on visual studio 2010, tried this, wcf, can't find zone.

tried adding code before calling function of webservice:

xmldictionaryreaderquotas myconf = new xmldictionaryreaderquotas(); myconf.maxstringcontentlength = 202400;

but nil changes!

you have alter maxstringcontentlength configuration or when create binding. besides has same on server , client. if not can send it, not receive content.

.net xml web-services asmx

No comments:

Post a Comment