The maximum array length quota (16384) has been exceeded while reading XML data
I am getting following error
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 187231. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
System.Xml.XmlException: 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 187231.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[XmlException: 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 187231.]
System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3) +311
System.Xml.XmlExceptionHelper.ThrowMaxArrayLengthExceeded(XmlDictionaryReader reader, Int32 maxArrayLength) +59
ReadPDFResponseFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString ) +525
System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) +47
System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) +15
System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, DataContract& dataContract) +128
System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns) +39
System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName) +167
System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName) +98
[SerializationException: There was an error deserializing the object of type Compass.GK.DataCommon.PDFResponse. 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 187231.]
System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName) +496
System.Runtime.Serialization.DataContractSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName) +44
System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest) +52
[NetDispatcherFaultException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:PDFRequestResult. The InnerException message was 'There was an error deserializing the object of type Compass.GK.DataCommon.PDFResponse. 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 187231.'. Please see InnerException for more details.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +7599119
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +275
Compass.GK.Datalink.WebServiceReference.ICompassGKService.PDFRequest(Request request) +0
Compass.GK.Datalink.RequestMaker.PDFRequest(String encryptionKey, String PDFType, String userName) +164
GKService.GKPDFHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) in C:\Joxin\GreenekingApplication\Application\GKService\GKPDFHandler.cs:66
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
my web.cofing client side entry is like this
<binding name="BasicHttpBinding_ICompassGKService" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2097152" maxBufferPoolSize="524288" maxReceivedMessageSize="2097152"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="2097152"
maxBytesPerRead="4096" maxNameTableCharCount="2097152" />
<transport clientCredentialType="None" proxyCredentialType="None"
<message clientCredentialType="UserName" algorithmSuite="Default" />
I dont know anything missing ? But when access this locally vs.net 2008 it is working fine.
But when i publish my application on server then only this issue comes..
I've loaded some data using SQL*Loader and obtained following strange error messages: ORA-12899: value too large for column AELS_AENDBESCHR (actual: 69, maximum: 70) ORA-12899: value too large for col
I've just increased the number of methods in my ServiceContract. when I update the Service Reference in Visual Studio I get the message: Metadata contains a reference that cannot be resolved: 'net.tc
I'm having trouble reading in XML data from an XML resource located in /res/xml/testxml.xml. For some reason using examples from my book and online, I'm not able to read the data properly. The followi
please help me to correct the error! i was trying to update odoo-openerp module. in controller folder main.py structure is like below. And i am getting error of RuntimeError: maximum recursion depth e
I am trying to make a following feature when I try to use the follow button I get Uncaught RangeError: Maximum call stack size exceeded If I add .val() to the end of Meteor.users.update(Meteor.userI
Am trying to read data from an Excel file into an ADO.NET Dataset using the code below. In a windows Forms application it work, but in an asp.net application it fails. public static DataTable Archive
I keep getting this PHP error: Fatal error: Maximum execution time of 300 seconds exceeded I have tried setting my max_execution_time and my max_input_time settings in php.ini (both apache and cli)
Iam get an intemittant error when posting to a WCF webservice The exception message is 'There was an error deserializing the object of type. The maximum string content length quota (8192) has been exc
Am trying to execute this query but it doesn't like itit throws the following exception overflowed an int column. Maximum integer value exceeded. Not sure what am missing here select * from Schedw
This question already has an answer here: How to Read XML in .NET? 2 answers I'm planning to use XML for database purpose. Only thing i was able to do is read whole XML file. I want to be able
I have a problem with my JBOSS while reading and processing a large XML file. My hardware: -OS: Windows 2008 Server R2 Enterprise -CPU: Intel E7210 @ 2.4 Ghz (Dual Core) -RAM: 12 GB I try to read a XM
I am trying to bulk insert documents into MongoDB (so bypassing Mongoose and using the native driver instead as Mongoose doesn't support bulk insert of an array of documents). The reason I'm doing thi
I'm trying to pass a large string (24,000 to 50,000 characters) to a self-hosted TCP WCF service. I've upped the maxStringContentLength (everywhere) to 22008192. I read somewhere that I need to change
I was receiving the error: string or binary data would be truncated. the statement has been terminated. Inserting XElement data into a SQL Server 2012 Xml column from C# via Linq-to-SQL was causing
I've been having a strange problem that I can't get around. Whenever I try to render PDF from jrxml on application server on CentOS machine, I receive java.io.IOException: Problem reading font data.
The following code throws RuntimeError: maximum recursion depth exceeded while getting the str of an object. I can resolve the infinite recursion in two different ways, but I don't understand why each
I wish to extract from a database a list of job Ids where the status for each job has not exceeded a given criteria. For this example table I want to display all the jobid that have not exceeded statu
This question already has an answer here: java.sql.SQLException: - ORA-01000: maximum open cursors exceeded 9 answers I've done connection to Oracle Database. Now I'm facing ORA-01000: maximum
I am receiving the following error when sending a message to the server using SignalR 2.0.0: SignalR: The reader's MaxDepth of 20 has been exceeded. I am using Unity for DI and have tried registerin
The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'PostTransaction'. The maximum string content length quota (8192)
How to read data from XML file in flex?
I would like to write a SQL query (SQL Server) that will return rows (in a given order) but only up to a given total. My client has paid me a given amount, and I want to return only those rows that ar
I am using a BindingSource.Filter property to filter my DataGridView. I would like to ask what is the maximum length or size of this string property? An MSDN user wrote Keep the size of the Filter p
i'v a xml file, in which i m saving temporary data(index & name of columns).......as given below -<NewDataSet> -<USERROWCOL> <COL>2</COL> <Name>Name</Name> <
Is there a maximum filename length (or equivalent to MAX_PATH) on the BlackBerry operating system?
I have a servlet filter that is generating Exceeded stated content length errors in WebLogic 10.0. I would appreciate any suggestions to fix this issue please. Details as follows. The servlet filter
Web Service is an ASMX web service (NOT WCF) I am receiving an error The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessage
Is it possible to set the maximum length of text in a TextArea?
We are given an array of n elements and an integer k. Suppose that we want to slide a window of length k across the array, reporting the largest value contained in each window. For example, given the
I'm reading data from a stream into a char array of a given length, and I'd like to make the maximum width of read to be large enough to fit in that char array. The reason I use a char array is that
I am uploading video using multipartentity in chunks, to upload I am reading data from file. In the first loop I am able to read data, but in the next loop it is getting ArrayIndexOutOfBoundsException
I encounter maximum length exceeded error when I try to upload a document which is 9MB in size. I know that the issue will be solved if httpRuntime maxRequestLength and requestLengthDiskThreshold in
I have the following recursion code, at each node I call sql query to get the nodes belong to the parent node. here is the error: Exception RuntimeError: 'maximum recursion depth exceeded' in <bo
I've been searching the reason why the maximum length of String in a TMemo.Lines is 1024, but not found yet. I have a text file which contains delimited / csv data which length is around 2000 characte
I increased the MaxReceivedMessageSize to 2147483647 but I still get this error. I put the same value on the server config and client config. Please helpppp The maximum message size quota for incoming
when i try to read an xml file from a third party company, i get the error: Data at the root level is invalid. Line 1, position 1. i've read on google the problem could be because the data of the xml
I would like to know how a variable length array is managed (what extra variables or data structures are kept on the stack in order to have variable length arrays). Thanks a lot.
As per title, what is the maximum length a URL can be, when using a custom URL scheme with an app? e.g. If I'm launching another app via URL, and passing a blob of data using something like &nbs
I am doing yahoo API program where i am getting result as XML format and fetching values from that xml files using the rule name. But in my case the xml file looks like this. <person> <first
I have a test which each time I run it, throws UnknownError: unknown error: Maximum call stack size exceeded. This test is calling a method in one of my services which writes to Google Drive. The
I am writing a WCF service to upload files but it throws an exceptions when byte array has more than 16384 elements. This is the exception detail: The formatter threw an exception while trying to des
Would someone please share their implementation of having separate error messages for minimum and maximum string length using data annotations in MVC? It seems StringLength only allows a single error
Just sitting with no requests, I get memory keeps on increasing, eventually to memory quota exceeded. There are multiple things I don't understand. Why memory use keeps increasing when no requests?
I need to read an XML file , but it skips some elements like link in this case , i put a breakpoint and i found that IsStartElement is false while the element is link . any ideas ? Dim reader As Xml
I am receiving the following error message within my Delphi/Oracle application ora-01000 - maximum open cursors exceeded. The code is as follows: begin for i := 0 to 150 do begin with myADOQuery do
when i am running my shell script in ubuntu 14.04 i am getting an error like below awk: program limit exceeded: maximum number of fields size=32767 FILENAME=ensemble_features/Training_BOOKS_POS_Bigr
Getting this WCF error, and no idea how to fix it: System.ServiceModel.CommunicationException: The sequence has been terminated by the remote endpoint. The user specified maximum retry count for a par