Re: Code requires FullTrust permission set

From: Mark Greenberg (markgreenberg_at_charter.net)
Date: 07/27/03

  • Next message: Erick Lee: "Re: Windows .NET forms - controls in IE?"
    Date: Sat, 26 Jul 2003 18:06:40 -0700
    
    

    Thanks Allen, I'll try the attribute.
    Mark.
    >-----Original Message-----
    >There is an attribute named
    AllowPartiallyTrustedCallersAttribute that must
    >be applied to a strong named assembly if the assembly is
    to be called by
    >code that does not have FullTrust.
    >
    >This is one possible source of your problem.
    >
    >Regards
    >Allen
    >
    >"Mark Greenberg" <markgreenberg@charter.net> wrote in
    message
    >news:24ce01c353af$56882110$a001280a@phx.gbl...
    >> I am trying to call an exe (.NET console app) that is
    >> located on a network share. The exe calls a method on a
    >> type in an assembly located in the same directory as the
    >> exe. When the exe attempts the method call, the app
    ends
    >> with a "Request Failed" error. It doesn't throw a
    >> SecurityException.
    >>
    >> The only way I've been able to get it to run
    successfully
    >> is to apply the FullTrust permission set to the code
    >> group.
    >>
    >> Does anyone know why the call into the other assembly
    >> requires FullTrust?
    >>
    >> Thanks,
    >>
    >> Mark
    >
    >
    >.
    >


  • Next message: Erick Lee: "Re: Windows .NET forms - controls in IE?"

    Relevant Pages

    • Re: Code requires FullTrust permission set
      ... There is an attribute named AllowPartiallyTrustedCallersAttribute that must ... code that does not have FullTrust. ... > I am trying to call an exe (.NET console app) that is ...
      (microsoft.public.dotnet.security)
    • Code requires FullTrust permission set
      ... I am trying to call an exe (.NET console app) that is ... located on a network share. ... is to apply the FullTrust permission set to the code ...
      (microsoft.public.dotnet.security)