Re: Code requires FullTrust permission set
From: Allen Jones (agj_at_bigfoot.com)
Date: 07/27/03
- Next message: Robbie Harris: "Re: Large Files And Hashing"
- Previous message: Mark Greenberg: "Code requires FullTrust permission set"
- In reply to: Mark Greenberg: "Code requires FullTrust permission set"
- Next in thread: Mark Greenberg: "Re: Code requires FullTrust permission set"
- Reply: Mark Greenberg: "Re: Code requires FullTrust permission set"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 26 Jul 2003 23:07:20 +0100
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: Robbie Harris: "Re: Large Files And Hashing"
- Previous message: Mark Greenberg: "Code requires FullTrust permission set"
- In reply to: Mark Greenberg: "Code requires FullTrust permission set"
- Next in thread: Mark Greenberg: "Re: Code requires FullTrust permission set"
- Reply: Mark Greenberg: "Re: Code requires FullTrust permission set"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]