[Mono-devel-list] Remoting and XSPApplicationHost

Cezar Nasui cezar.nasui at polymtl.ca
Wed Oct 29 00:32:04 EST 2003


I have an application that use remoting to access an object reference. I
start the server part of the application in Global.asax as I want to use the
browser as interface. I create my own ApplicationHost based on XSP.
In the simple server-client scenario, where ApplicationHost doesn't get
involved, the application is working fine.
The problems begin when I start the server part from global. I get an error
"Unkown message from server" with mono and running on windows I get this
"RemotingException" :
Unhandled Exception: System.Runtime.Remoting.RemotingException: Underlying
socket was closed.

Server stack trace:
   at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[]
buffer, Int32 offset, Int32 count)
   at System.Runtime.Remoting.Channels.SocketHandler.BufferMoreData()
   at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer,
Int32 offset, Int32 count)
n(UInt16& operation)
Message msg, ITransportHeaders requestHeaders, Stream requestStream,
ITransportHeaders& responseHeaders, Stream& responseStream)
e(IMessage msg)

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 ObjectInspector.OIRegister.RegisterApplication(String appName,
MarshalByRefObject appReference)
   at ObjectInspector.ClientTest.Main(String[] Args)

I remember under IIS an web application was limited in the things it can do
on the system it runs. It was related to the user under which it runs and on
the application's protection level.

There is a security reason on mono that won't let me do remoting stuff from
an web application?
Any idea on this matter?

Thank you,
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031029/ceae1334/attachment.html 

More information about the Mono-devel-list mailing list