Re: remoting nested types

Tech-Archive recommends: Speed Up your PC by fixing your registry



Could you post the entire exception stack.

Oh, and could you also translate it ;) thanks.

Cordell Lawrence
Teleios Systems Ltd.

"ThunderMusic" <NOdanylat@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23TQY6zVRFHA.2788@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> I have a remoting problem concerning returning a control from a
service
> to a client app... the code is as follow :
>
> <code start>
> dim x as MyControl
> x = MyDistantObject.GetMyControl()
> MyForm.Controls.Add(x)
> <code end>
>
> The MyDistantObject is valid. the x object seems to be set when calling
the
> Add method, but the MyForm.Controls.Add(x) line causes an exception saying
> that :
>
> (in french) "Autorisation refusée. Impossible d'appeler des methodes non
> public ou static a distance."
>
> (In english, but I translated myself so it could be something else)
> "Autorisation denied. Impossible to call non public or static methods
> remotely"
>
> Does someone have any idea why it would cause this exception at this line?
>
> thanks
>
>


.



Relevant Pages

  • Re: Exception handling and logging.
    ... I'm not quite sure what this means....the exceptions he is dealing with are ... > alternative could always be to throw my own exception to the level above ... translate a value into a message, and the translation process itself is ... or complete so I tend to catch the generic Exception type. ...
    (microsoft.public.dotnet.framework)
  • Re: new without delete: what will happen
    ... > Are you talking about those throwing smart pointers? ... > translate the potential CMemoryException into an E_OUTOFMEMORY return. ... If you have to return a COM error code, that's a boundary at which you do ... have to translate from exception to return code. ...
    (microsoft.public.vc.mfc)
  • Installation problem
    ... postinstallation procedures (from CMD) (I' ll try to translate from ... exception. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: VS.NET-PPC2003: copy file between the Emulator and the PC
    ... Thanks Neil, i downloaded the two tools, but they crash with this exception ... (I translate from Italian:)): ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: abstract vs. final
    ... The class only contains static methods - hence there is no reason ... public void testMyMethod() throws Throwable { ... Rather, consider this a scenario that should qualify as an exception from the general rule: being verbose is redundant, and henders the readability of the test's parameters and expected results. ... understanding of Java, object-oriented programming, and proper ...
    (comp.lang.java.programmer)