Remoting and callback function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Boniek

    #1

    Remoting and callback function

    Hi
    When I want add my callback function from client application to event server
    remoting object I have SecurityExcepti on 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


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Remoting and callback function

    Bonifacy,

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

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


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Boniek" <mortel@poczta. onet.pl> wrote in message
    news:bmist4$cfq $2@atlantis.new s.tpi.pl...[color=blue]
    > Hi
    > When I want add my callback function from client application to event[/color]
    server[color=blue]
    > remoting object I have SecurityExcepti on 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[/color]
    do[color=blue]
    > wrong or how I can off this security (in program or in system).
    > Thank's and sorry for language.
    >
    > Bonifacy Krzy¿yk
    >
    >[/color]


    Comment

    • Boniek

      #3
      Re: Remoting and callback function

      > I believe that if you want to do this, then the object that you want
      to[color=blue]
      > be a callback must derive from MarshalByRefObj ect.
      >
      > Can you show the details of the exception that you are getting?[/color]

      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 SecurityExcepti on 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


      Comment

      • Boniek

        #4
        Re: Remoting and callback function

        > I believe that if you want to do this, then the object that you want
        to[color=blue]
        > be a callback must derive from MarshalByRefObj ect.
        >
        > Can you show the details of the exception that you are getting?[/color]

        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 SecurityExcepti on 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


        Comment

        Working...