Today I was receiving the following error when attempting to send a reasonably large byte array to a WCF Service.
There was an error writing to the pipe: Unrecognized error 232 (0xe8).
As you can see another potential candidate for least descriptive error message known to mankind. The only references to this error that google could find (here and here) were not all that helpful as they were about timeouts and closing the channel, in my case nothing was timing out. The solution was eventually obvious, a simple oversight on my part, the maxReceivedMessageSize property of the binding needed to be set to an appropriately high number so that the channel would allow for such a large message to be sent. Note you'll also need to set the maxArrayLength parameter of your readerQuotas configuration entry to a suitably large number otherwise it won't accept your byte array. eg.
<binding name="MyBinding" maxReceivedMessageSize="99999998">
<readerQuotas
maxStringContentLength="65536"
maxBytesPerRead="9000000"
maxDepth="96"
maxArrayLength="2097152"/>
</binding>
AFTER I INSTAL NETWORK ADAPTER(OUT -0347820-00301032 VER 1.0)GOT MESSEGE ; ERROR 232(0xe8
ReplyDelete