<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The maximum message size quota for incoming messages (65536) has been exceeded in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952722#M1255683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get a list of list of source documents - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14434682539203712 jive_text_macro" jivemacro_uid="_14434682539203712"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ServiceInfo[] ServiceList = Client.GetServices(ServiceTypes.All);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Guid QvsGuid = ServiceList[2].ID;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;foreach (ServiceInfo info in ServiceList)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(info.Name);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;QVSSettings QvsSettings = Client.GetQVSSettings(QvsGuid, QVSSettingsScope.Distribution | QVSSettingsScope.Documents);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;QDSSettings qdsSettings = Client.GetQDSSettings(QvsSettings.Distribution.QDSID, QDSSettingsScope.All);&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Guid qdsGuid = QvsSettings.Distribution.QDSID;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Get source documents&amp;nbsp; &lt;/P&gt;
&lt;P&gt;DocumentNode[] sourceDocuments = Client.GetSourceDocuments(qdsGuid);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last step fails with following error - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;An unhandled exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Additional information: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why I am getting this error - I don't think I have that many documents. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>The maximum message size quota for incoming messages (65536) has been exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952722#M1255683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get a list of list of source documents - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14434682539203712 jive_text_macro" jivemacro_uid="_14434682539203712"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ServiceInfo[] ServiceList = Client.GetServices(ServiceTypes.All);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Guid QvsGuid = ServiceList[2].ID;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;foreach (ServiceInfo info in ServiceList)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(info.Name);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;QVSSettings QvsSettings = Client.GetQVSSettings(QvsGuid, QVSSettingsScope.Distribution | QVSSettingsScope.Documents);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;QDSSettings qdsSettings = Client.GetQDSSettings(QvsSettings.Distribution.QDSID, QDSSettingsScope.All);&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Guid qdsGuid = QvsSettings.Distribution.QDSID;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Get source documents&amp;nbsp; &lt;/P&gt;
&lt;P&gt;DocumentNode[] sourceDocuments = Client.GetSourceDocuments(qdsGuid);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last step fails with following error - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;An unhandled exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Additional information: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why I am getting this error - I don't think I have that many documents. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952722#M1255683</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum message size quota for incoming messages (65536) has been exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952723#M1255684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You get due to you have many Source documents and the total message returned is larger than 65536.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This limitation is the default behaviour by Microsoft. However you can modify is by changing the MaxRecievedMessageSize on the binding to API (see &lt;A href="https://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.maxreceivedmessagesize(v=vs.100).aspx" title="https://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.maxreceivedmessagesize(v=vs.100).aspx"&gt;https://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.maxreceivedmessagesize(v=vs.100).aspx&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in all QlikView services you can change this value in the config file per executable like this (QlikView a higher default value of 262144):&lt;/P&gt;&lt;P&gt;&amp;lt;add key="MaxReceivedMessageSize" value="262144"/&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 05:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952723#M1255684</guid>
      <dc:creator />
      <dc:date>2015-09-29T05:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum message size quota for incoming messages (65536) has been exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952724#M1255688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I increased the max limit in the app config file, and it solved the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 13:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-maximum-message-size-quota-for-incoming-messages-65536-has/m-p/952724#M1255688</guid>
      <dc:creator />
      <dc:date>2015-09-29T13:25:48Z</dc:date>
    </item>
  </channel>
</rss>

