|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SOS on Remoting based on httplistener?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. 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 -- Show quoteRegards, 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 <lieberstr***@gmail.com> wrote in message news:1178833118.565708.76080@w5g2000hsg.googlegroups.com... >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. > |
|||||||||||||||||||||||