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
ASP.NET, C# Create table with a variable name for Table Name
Can't issue SSL certificate to web server - "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider"
JQuery is disabled by partial postbacks
Excel - Copy all Tab data to one master tab automatically
How to hide caret in textbox
Assistance with Windows Forms and calendar control embedded inside a grid
Strip special character function for SQL statement
Mounting Images using IMAGEX
WSUS Scheduled Install Time for systems in different time zones
Code: 0x80012017 The package path referenced an object that cannot be found: "\Package\Subplan.Disable"<wbr />