Microsoft
Software
Hardware
Network
Question : WCF: can't figure out reliable session error
Folks,
My client is throwing the following reliable session error. This seems to happen right as the service returns from a long operation call (it returns a large byte array). I've pasted my bindings below. My max sizes are set very high. Can't figure this out one.
The sequence has been terminated by the remote endpoint. Due to a user abort the reliable session cannot continue. The reliable session was faulted.
Server stack trace:
at System.ServiceModel.Channe
ls.InputQu
eue`1.Wait
QueueReade
r.Wait(Tim
eSpan timeout, T& value)
at System.ServiceModel.Channe
ls.InputQu
eue`1.Dequ
eue(TimeSp
an timeout, T& value)
at System.ServiceModel.Channe
ls.InputQu
eueChannel
`1.Dequeue
(TimeSpan timeout, TDisposable& item)
at System.ServiceModel.Channe
ls.DuplexC
hannel.Try
Receive(Ti
meSpan timeout, Message& message)
at System.ServiceModel.Dispat
cher.Duple
xChannelBi
nder.Reque
st(Message
message, TimeSpan timeout)
at System.ServiceModel.Channe
ls.Service
Channel.Ca
ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channe
ls.Service
ChannelPro
xy.InvokeS
ervice(IMe
thodCallMe
ssage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channe
ls.Service
ChannelPro
xy.Invoke(
IMessage message)
maxConnections="25000" listenBacklog="25000" portSharingEnabled="false"
closeTimeout="00:05:00" openTimeout="00:05:00" sendTimeout="08:11:30"
transferMode="Buffered" transactionFlow="false" hostNameComparisonMode="St
rongWildca
rd"
maxBufferSize="2097152000"
maxReceivedMessageSize="20
97152000" maxBufferPoolSize="2097152
0000">
" maxDepth="2000000000"
maxBytesPerRead="200000000
0" maxNameTableCharCount="200
0000000" />
maxConnections="25000" listenBacklog="25000" portSharingEnabled="false"
closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="03:12:35"
transferMode="Buffered" transactionFlow="false" hostNameComparisonMode="St
rongWildca
rd"
maxBufferSize="2097152000"
maxReceivedMessageSize="20
97152000" maxBufferPoolSize="2097152
0000" >
" maxDepth="2000000000"
maxBytesPerRead="200000000
0" maxNameTableCharCount="200
0000000" />
Answer : WCF: can't figure out reliable session error
this was a timeout issue on the service side (not an inactivity timeout). I'm not sure how I would have figured that out from the exception message.
Random Solutions
Building a TreeView
How do I populate one spreadsheet from a filtered version of another?
Remove obsolete ACLs
Event ID 673 appears randomly in security log
Update table with user provided data in Access 2007 connected to SQL 2000 DB
Formula for changing positive to negative
sharepoint 2007 workflows
Convert conditional formatting to normal formatting? conditional is lost when converting to Excel 95
how to easily find table scan queries
Outlook rules for to/cc field