When I invoke two web service methods sequentially with no delay, the first
web method invocation goes smooth while the 2nd one generates the dredded:
System.Net.WebE xception: The underlying connection was closed: An unexpected
error occurred on a send.
The only way I have been able to make consecutive web method invocations
work is by overriding GetRequest and disabling Keep-Alive. The IIS
Keep-Alive setting is enabled for 120 seconds but yet it appears that value
is not being honored by IIS for some reason. I would rather not disable
keep alive to make things work as doing so has network performance
implications. Has anyone gotten Http Keep-Alives to work in .NET 2.0?
Server = Win 2003 SP2 / .NET 2.0
Client = Win XP SP2 / .NET 2.0
thanks
ScottM