SOS on Remoting based on httplistener?

L

lieberstraum

I setup webservice on both client & server side to communicate bi-way.
But the server will crash in short time, maybe 60 second. And the
error message in Event log is as following, any suggestion is highly
appreciated!


System.AppDomainUnloadedException: The application domain in which the
thread was running has been unloaded.

Server stack trace:
at System.Threading.Thread.InternalCrossContextCallback(Context
ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate
ftnToCall, Object[] args)
at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch(Byte[]
reqStmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMessage& smuggledMrm)
at
System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage
reqMsg)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
SoftCreekLib.HttpListenerLib.HttpListenerWrapper.ProcessRequest()
at SoftCreekLib.HttpListenerLib.HttpListenerController.Pump()

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
 
A

Alvin Bruney [MVP]

I don't understand why you need a web-service on the client to call a web
service on the server? Maybe you could start by explaining the
architecture/design a bit. In any case, you'll need to debug the web service
on the server because it is throwing exceptions. You also need to explain
just what the webservice call on the server is doing. briefly

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top