How to recover from an invalid Web Service State?

Hi All,

Well I have a weird situation and thought I'd post to see if there's some information out there that I've missed.

I am currently running a peer-to-peer application using the new .NET web service. My problem is that if I catastrophically kill one of the connected peers, the other peer's web service gets in an invalid state and is unable to accept any incoming requests until it is completely restarted, however it continues to stay alive and listen. I believe the problem is occuring in the COM object of the web service that I am wrapping. I cannot flush this object from memory (or can I?) unless I completely restart the application. So I'm just wondering if there are any other work arounds people might be able to suggest?

Thanks for any insight you might have!

[805 byte] By [r_currie] at [2007-12-22]
# 1
By simply letting the webservice fail and not attempting to reset its state manually, it repaired itself and no reboot was neccessary.
r_currie at 2007-8-30 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

.NET Development

Site Classified