Remoting and callback function

  • Thread starter Thread starter Boniek
  • Start date Start date
B

Boniek

Hi
When I want add my callback function from client application to event server
remoting object I have SecurityException with message that I haven't
permission to do that. I don't know what I do wrong. I read many samples
about event remoting object but my application don't work. Help me what I do
wrong or how I can off this security (in program or in system).
Thank's and sorry for language.

Bonifacy Krzy¿yk
 
Bonifacy,

I believe that if you want to do this, then the object that you want to
be a callback must derive from MarshalByRefObject.

Can you show the details of the exception that you are getting?
 
I believe that if you want to do this, then the object that you want
to
be a callback must derive from MarshalByRefObject.

Can you show the details of the exception that you are getting?

Now, I can't show this message from exception because I tested my
application at home and I haven't it here at work but I try tell you what
showed me. Exception was SecurityException type and I remember message:
Application haven't permission to do that. You must contact with your
administrator or modify configuraction in Framework configuration.
If this message isn't enough to locate problem I send you original message
tomorrow.

Thank's
Boniek
 
I believe that if you want to do this, then the object that you want
to
be a callback must derive from MarshalByRefObject.

Can you show the details of the exception that you are getting?

Now, I can't show this message from exception because I tested my
application at home and I haven't it here at work but I try tell you what
showed me. Exception was SecurityException type and I remember message:
Application haven't permission to do that. You must contact with your
administrator or modify configuraction in Framework configuration.
If this message isn't enough to locate problem I send you original message
tomorrow.

Thank's
Boniek
 
Back
Top