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
Excel workbook opens read only w/ error "Excel Workbook open by 256 Users"
Loop through and delete an item from a combo box
access query export data from one table to another
Upgrade from Win2003 R2 to Win 2008
Script for truncating file and folder names
SQL insert into memo field only accepts 254 characters
SSIS error
SharePoint logs me in as "System Account"
ASP.NET - How to change the text property of a label that is inside a user control?
The command or action 'OutputTo' isn't available now