Troubleshooting
Problem
When executing ruleset on RES, how can the error message "An exception has been thrown when reading the stream" be resolved?
Symptom
Error message "An exception has been thrown when reading the stream"
Cause
This is caused by the size of the ruleset exceeding the default value set for the parameter maxReceivedMessageSize in the netTcpBinding section of your web.config.
Resolving The Problem
You should first run a sample ruleset that is small enough to ensure RES is setup correctly. Then, you shall try increasing the parameter maxReceivedMessageSize value to make sure it meets the requirement of your ruleset size.
Following is the corresponding section of web.config file with default value:
<netTcpBinding>
<binding name="TCPBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="67108864">
....
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21422658