I'm using ServiceHost with WebHttpBinding and BasicHttpBinding as
endpoints and after running my service during some time I get the
following exception that breaks execution:
Unhandled Exception: System.ArgumentOutOfRangeException: Argument is
out of range.
Parameter name: timeout
at System.Threading.WaitHandle.WaitOne (TimeSpan timeout, Boolean
exitContext) [0x00000] in <filename unknown>:0
at System.Threading.WaitHandle.WaitOne (TimeSpan timeout) [0x00000]
in <filename unknown>:0
at System.ServiceModel.Channels.Http.HttpListenerManager.TryDequeueRequest
(System.ServiceModel.Dispatcher.ChannelDispatcher channel, TimeSpan
timeout, System.ServiceModel.Channels.Http.HttpContextInfo& context)
[0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Http.HttpListenerManager.TryDequeueRequest
(System.ServiceModel.Dispatcher.ChannelDispatcher channel, TimeSpan
timeout, System.ServiceModel.Channels.Http.HttpContextInfo& context)
[0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
(TimeSpan timeout, System.ServiceModel.Channels.RequestContext&
context) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.ReplyChannelBase.<BeginTryReceiveRequest>m__21
(TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx)
[0x00000] in <filename unknown>:0
Maybe some check on timeout variable should be done at
System.ServiceModel.Channels.Http.HttpListenerManager.TryDequeueRequest
?
Regards
Josh
_______________________________________________
Mono-devel-list mailing list
Mono-de...@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
--
View this message in context: http://mono.1490590.n4.nabble.com/System-ServiceModel-ServiceHost-exception-tp4485334p4514850.html
Sent from the Mono - Dev mailing list archive at Nabble.com.