|
-
Oct 16th, 2009, 03:38 PM
#1
Thread Starter
PowerPoster
Asynchronous Timeout possible?, C# WebService, VB Windows Client.
Boy, not even sure what forums to post this to...
My coworker claims he witnessed an Asynchronous callback timeout to a C# 2005 webservice, using an app written in Flex. The claim is that he only sees it after 6 hours or so.
My particular client app is a VB.NET 2005 app, declaring the WebService Object "WithEvents".
The 1st call to the xxxxAsync member by the VB client causes the C# service to execute a .WaitOne() function.
Some time later, the thread is awoken by another member which executes the .Set() function. It is the execution of this function that causes the VB client to receive the xxxxCompleted Event.
Consider the time between the .WaitOne() execution and the .Set() execution (within the context of the C# WebService). This is effectively the duration of the Asynchronous WebService call. If this duration is not too long, nothing bad happens.
However the claim is that IIS may itself be timing-out if this duration is many hours long, and returning some kind of 404 error or some such.
I have not seen this behavior manifest itself on the VB client, but presumably I would see the xxxCompleted Event get fired in this case? In which case, how would I know an IIS error had occurred?
Hope this makes sense,
Thanks!
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|