PDA

View Full Version : سوال: (413) Request Entity Too Large خطا در WCF



fakhravari
دوشنبه 29 آبان 1396, 08:53 صبح
با سلام
من یک تابع در wcf دارم که کلاینت ها از اون استفاده میکنن.
توی یک حالت وقتی لیست ورودی زیاد میشه خط WebException: The remote server returned an error: (413) Request Entity Too Large رخ مید دهد.
این هم گزاشم ولی نشد

سمت کلاینت
<binding name="BasicHttpBinding_IService1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>

سمت سرور چیزی خاصی ست نکردم.

Moien Tajik
دوشنبه 29 آبان 1396, 12:45 عصر
https://stackoverflow.com/a/10123764/6661314