Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Buffer Too Small

  • Last UpdatedJan 13, 2022
  • 1 minute read

Error description

Global stops operating and returns the following error " The remote server returned an unexpected response: (400) Bad Request."

Solution

Double the existing values of the maxReceivedMessageSize and maxBufferSize attributes.

Note:
The maxBufferSize attribute is available only in basicHttpBinding.

The minimum size for these attributes is 64KB (65536 bytes) and Maximum allowed value is 4 GB (4294967296 bytes).

The following table summarizes all suggested memory sizes and equivalent decimal values.

Size

Value

Size

Value

Size

Value

64KB

65536

4MB

4194304

256MB

268435456

128KB

131072

8MB

8388608

512MB

536870912

256KB

262144

16MB

16777216

1 GB

1073741824

512KB

524288

32MB

33554432

2 GB

2147483648

1MB

1048576

64MB

67108864

4 GB

4294967296

2MB

2097152

128MB

134217728

<bindings>

<basicHttpBinding>

<binding name="BasicHttpBinding_IGlobalWcfService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" transferMode="Buffered" messageEncoding="Mtom" maxBufferPoolSize="1048576" maxBufferSize="1048576" maxReceivedMessageSize="1048576">

<readerQuotas maxDepth="32" maxStringContentLength="1048576" maxArrayLength="1048576" maxBytesPerRead="4096" maxNameTableCharCount="16384" />

<security mode="None">

</security>

</binding>

</basicHttpBinding>

</bindings>

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in