No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly
From: Joe (J_no_spam_at__no_spam_Fishinbrain.com)
Date: 01/22/05
- Next message: JTdawgBeach: "desktop / mouse inversion problem"
- Previous message: Cantelmo Software: "[Semi OT] Obfuscator Opinion"
- Next in thread: Nicole Calinoiu: "Re: No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly"
- Reply: Nicole Calinoiu: "Re: No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly"
- Reply: Joe: "Re: No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 22 Jan 2005 11:11:05 -0500
My control uses several other controls - MagicLibrary being one of them. If
I change my Internet security to Full Trust everything work fine but when I
just have full trust for my control I get this error.
These are the permissions I'm requesting I get:
[assembly: FileIOPermission(SecurityAction.RequestOptional, Unrestricted =
true)]
[assembly: UIPermission(SecurityAction.RequestOptional, Unrestricted =
true)]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution =
true)]
Microsoft.IE.SecureFactory: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.IO.FileLoadException: Failed to grant required minimum permissions to
assembly 'MagicLibrary, Version=1.7.0.0, Culture=neutral,
PublicKeyToken=3a6eb82f876a49bc'.
File name: 'MagicLibrary, Version=1.7.0.0, Culture=neutral,
PublicKeyToken=3a6eb82f876a49bc' --->
System.Security.Policy.PolicyException: Required permissions can not be
acquired.
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence,
PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet& denied, Boolean checkExecutionPermission)
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence,
PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet& denied, Int32& grantedIsUnrestricted, Boolean
checkExecutionPermission)
at WebControl.WebControl.InitializeComponent()
at WebControl.WebControl..ctor()
- Next message: JTdawgBeach: "desktop / mouse inversion problem"
- Previous message: Cantelmo Software: "[Semi OT] Obfuscator Opinion"
- Next in thread: Nicole Calinoiu: "Re: No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly"
- Reply: Nicole Calinoiu: "Re: No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly"
- Reply: Joe: "Re: No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|