![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | MaxArrayLength property on the XmlDictionaryReaderQuotas Hello misters, I have an WCF service, and I call to method of contract, and its appears the following error: http://schemas.microsoft.com/net/200...spatcher/fault Code : System.ServiceModel.FaultCode Reason : The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://TINSA.WCF:ObtenerImagenResult. The InnerException message was 'There was an error deserializing the object of type TINSA.Entidades.Documentacion.Imagen. 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. Line 1, position 80734.'. Any help will be appreciated, thanks in advance, greetings. -- http://www.alhambra-eidos.es/web2005/index.html www.kiquenet.net |
My System Specs![]() |
| | #2 (permalink) |
| | RE: MaxArrayLength property on the XmlDictionaryReaderQuotas Hi, I have the same pblm when i transferring string xml using WCF.. In Client C# Code, I added the Basichttpbinding.ReadersQuoate.MaxStringContentLength = 16384. but i still get the same pblm..did u sort out the pblm..plz help me to solve that.. Thanks Suresh Kumar "Alhambra Eidos Kiquenet" wrote: > Hello misters, > > I have an WCF service, and I call to method of contract, and its appears the > following error: > > > http://schemas.microsoft.com/net/200...spatcher/fault > Code : System.ServiceModel.FaultCode > Reason : The formatter threw an exception while trying to deserialize the > message: There was an error while trying to deserialize parameter > http://TINSA.WCF:ObtenerImagenResult. The InnerException message was 'There > was an error deserializing the object of type > TINSA.Entidades.Documentacion.Imagen. 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. Line 1, position 80734.'. > > Any help will be appreciated, > > thanks in advance, greetings. > > -- > http://www.alhambra-eidos.es/web2005/index.html > www.kiquenet.net > |
My System Specs![]() |
| | #3 (permalink) |
| | RE: MaxArrayLength property on the XmlDictionaryReaderQuotas Use attribute maxArrayLength with a big value, for example ="163840000" <binding ... maxArrayLength="163840000" <wsHttpBinding> <!-- SERVICIO VALORACIONES --> <binding name="WSHttpBinding_IValoracion" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="100000000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="163840000" <============== HERE maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> <security mode="Message"> <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /> <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true" /> </security> </binding> -- http://www.alhambra-eidos.es/web2005/index.html www.kiquenet.net "Fresh Bee" wrote: > Hi, > > I have the same pblm when i transferring string xml using WCF.. > > In Client C# Code, I added the > > Basichttpbinding.ReadersQuoate.MaxStringContentLength = 16384. > > but i still get the same pblm..did u sort out the pblm..plz help me to solve > that.. > > > Thanks > > Suresh Kumar > > > "Alhambra Eidos Kiquenet" wrote: > > > Hello misters, > > > > I have an WCF service, and I call to method of contract, and its appears the > > following error: > > > > > > http://schemas.microsoft.com/net/200...spatcher/fault > > Code : System.ServiceModel.FaultCode > > Reason : The formatter threw an exception while trying to deserialize the > > message: There was an error while trying to deserialize parameter > > http://TINSA.WCF:ObtenerImagenResult. The InnerException message was 'There > > was an error deserializing the object of type > > TINSA.Entidades.Documentacion.Imagen. 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. Line 1, position 80734.'. > > > > Any help will be appreciated, > > > > thanks in advance, greetings. > > > > -- > > http://www.alhambra-eidos.es/web2005/index.html > > www.kiquenet.net > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Set Focus To Specific Property In Property Grid | .NET General | |||
| How do I use the property of a property? | PowerShell | |||
| Value under the CPU property? | PowerShell | |||