[Mono-dev] System.ServiceModel.ServiceHost exception

11 views
Skip to first unread message

Josh Abbott

unread,
Mar 19, 2012, 12:03:57 PM3/19/12
to mono-de...@lists.ximian.com
Hi

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

salorob

unread,
Mar 29, 2012, 4:54:47 AM3/29/12
to mono-de...@lists.ximian.com
i have this too.. ?

--
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.

Reply all
Reply to author
Forward
0 new messages