Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
QuestionThe formatter threw an exception while trying to deserialize the message. The maximum array length quota (16384) has been exceeded Pin
Sanjeev99186-Nov-12 2:13
Sanjeev99186-Nov-12 2:13 
i'm using wcf service in windows application form

I'm using this code in web.config and app.config but still i'm getting error




openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">

maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />


realm="" />






Here is the error


The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:mail. The InnerException message was 'There was an error deserializing the object of type OutlookService.UserMail. 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 43258.'.

Please help me
QuestionOutlook 2007-2010 Add-in Intercept Dial function in c# Pin
Cristian Capannini5-Nov-12 23:49
Cristian Capannini5-Nov-12 23:49 
AnswerRe: Outlook 2007-2010 Add-in Intercept Dial function in c# Pin
Simon_Whale5-Nov-12 23:55
Simon_Whale5-Nov-12 23:55 
GeneralRe: Outlook 2007-2010 Add-in Intercept Dial function in c# Pin
Cristian Capannini6-Nov-12 0:34
Cristian Capannini6-Nov-12 0:34 
AnswerNote for responders` Pin
Pete O'Hanlon6-Nov-12 0:38
mvePete O'Hanlon6-Nov-12 0:38 
QuestionMathematical Question Pin
Abrek Okur5-Nov-12 21:16
Abrek Okur5-Nov-12 21:16 
AnswerRe: Mathematical Question Pin
Sivaraman Dhamodharan5-Nov-12 21:38
Sivaraman Dhamodharan5-Nov-12 21:38 
AnswerRe: Mathematical Question Pin
Pete O'Hanlon5-Nov-12 22:06
mvePete O'Hanlon5-Nov-12 22:06 
GeneralRe: Mathematical Question Pin
n.podbielski5-Nov-12 22:08
n.podbielski5-Nov-12 22:08 
GeneralRe: Mathematical Question Pin
Abrek Okur5-Nov-12 22:14
Abrek Okur5-Nov-12 22:14 
GeneralRe: Mathematical Question Pin
Pete O'Hanlon5-Nov-12 22:16
mvePete O'Hanlon5-Nov-12 22:16 
GeneralRe: Mathematical Question Pin
Abrek Okur5-Nov-12 22:27
Abrek Okur5-Nov-12 22:27 
GeneralRe: Mathematical Question Pin
Pete O'Hanlon5-Nov-12 22:36
mvePete O'Hanlon5-Nov-12 22:36 
AnswerRe: Mathematical Question Pin
Abrek Okur5-Nov-12 22:53
Abrek Okur5-Nov-12 22:53 
GeneralRe: Mathematical Question Pin
Pete O'Hanlon5-Nov-12 23:00
mvePete O'Hanlon5-Nov-12 23:00 
GeneralRe: Mathematical Question Pin
lukeer5-Nov-12 22:47
lukeer5-Nov-12 22:47 
GeneralRe: Mathematical Question Pin
Abrek Okur5-Nov-12 22:51
Abrek Okur5-Nov-12 22:51 
GeneralRe: Mathematical Question Pin
lukeer5-Nov-12 23:47
lukeer5-Nov-12 23:47 
QuestionRe: Mathematical Question Pin
n.podbielski5-Nov-12 22:06
n.podbielski5-Nov-12 22:06 
AnswerRe: Mathematical Question Pin
Pete O'Hanlon5-Nov-12 22:13
mvePete O'Hanlon5-Nov-12 22:13 
GeneralRe: Mathematical Question Pin
Abrek Okur5-Nov-12 22:15
Abrek Okur5-Nov-12 22:15 
GeneralRe: Mathematical Question Pin
Pete O'Hanlon5-Nov-12 22:17
mvePete O'Hanlon5-Nov-12 22:17 
GeneralRe: Mathematical Question Pin
n.podbielski5-Nov-12 22:43
n.podbielski5-Nov-12 22:43 
AnswerRe: Mathematical Question Pin
Ingo6-Nov-12 4:56
Ingo6-Nov-12 4:56 
QuestionAssigning Variables in C# for ORACLE Pin
KingJames065-Nov-12 19:52
KingJames065-Nov-12 19:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.