CodeSmith Community
Your Code. Your Way. Faster!

Error when trying to execute Community Server 2007 with NetTiers DLLs

Latest post 04-20-2007 3:07 PM by mvilleneuve. 0 replies.
  • 04-20-2007 3:07 PM

    • mvilleneuve
    • Not Ranked
    • Joined on 03-02-2007
    • Montréal
    • Posts 1
    • Points 5

    Error when trying to execute Community Server 2007 with NetTiers DLLs

    When i run my web application, there is a PolicyException throwed that stops the server responding. It seems impossible to use NetTiers with Comunity Server 2007, despite that it worked in version 2.1.

     The exact message that I get when I run the application is:

    System.Security.Policy.PolicyException: Impossible d'acquérir les autorisations requises.

    [PolicyException: Impossible d'acquérir les autorisations requises.]
       System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +2737493
       System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57
    

    I have the french Framework 2.0.

    It's not our first application with nettiers, it's the 8th one. So I Know how it works. There's just a problem with the Microsoft Pratices Caching Cryptography Component and the other ones.

    [FileLoadException: Impossible de charger le fichier ou l'assembly 'Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' ou une de ses dépendances. Impossible d'accorder les demandes d'autorisation minimales. (Exception de HRESULT : 0x80131417)]
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
       System.Reflection.Assembly.Load(String assemblyString) +25
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

    How can I fix It???????

    Thanks

     

    Filed under: , ,
    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems