Erreur TUTORIEL N°9 RRS feed

  • Question

  • Bonjour,

    Je suis le Tutoriel de MSDN

    JE suis sous Win7 et framework4.0

    j'ai du passer en 2.0, mais voici l'erreur qui me bloque.

    Security Exception 
    Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 
    Exception Details: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
    Source Error: 
    Line 28:     //if (!EventLog.SourceExists("ASR"))
    Line 29:     //{
    Line 30:     EventLog.CreateEventSource("ASR", "Application");
    Line 31:     //}
    Line 32: 
    Source File: c:\Users\croblet\Documents\Visual Studio 2010\WebSites\AffairesSansRisque\App_Code\SqlMembershipProvider.cs  Line: 30 


    vendredi 5 août 2011 09:28


Toutes les réponses