Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WCF binarymessageEncoding hanging

22 views
Skip to first unread message

TrevorM

unread,
Aug 6, 2009, 12:05:01 PM8/6/09
to
Hello,

I am currently trying to write a wcf service to grab data from our database
and relay it to the client.

I am implementing a customBinding in order to use BinaryMessageEncoding over
http as well as UserName security.

This is hosted in IIS 7.5 on server 2008 R2 (evaluation copy as of now)

Here is the custom binding below


<

customBinding>

<


binding name="exampleBinding">

<


binaryMessageEncoding maxReadPoolSize="2147483647"
maxWritePoolSize="2147483647" maxSessionSize="2147483647">

<


readerQuotas

maxBytesPerRead="2147483647"

maxArrayLength="2147483647"

maxStringContentLength="2147483647"

maxDepth="1024" />

</


binaryMessageEncoding>

<


security authenticationMode="UserNameForSslNegotiated">

<


localClientSettings timestampValidityDuration="00:10:00" />

<


localServiceSettings negotiationTimeout="00:05:00"
timestampValidityDuration="00:10:00" />

<


secureConversationBootstrap />

</


security>

<


httpTransport maxBufferPoolSize="2147483647"
maxReceivedMessageSize="50000000" />

</


binding>

</


customBinding>

If anyone has any idea why it would hang. We split the data we require into
chunks and no matter what size of chunks we set it always hangs after the 7th
was processed (ie. chunks of size 1, it hangs after 7... chunks of size 500
hangs after 3500)

One note is if the sendtimeout is set to greater than 10 minutes it
eventually will process another chunk but it takes about 5-10 minutes for
each additional, when the first 7 take approx 3-4 seconds.

Thank you,

Trevor Mann.

0 new messages