How can I change the application's trust level in the configuration file.

Discussion in 'MCSD' started by Naci, Mar 6, 2004.

  1. Naci

    Naci Guest

    How can I change the application's trust level in the
    configuration file.
    Hi,

    I am using COM component with the ASP.NET application.
    When I run the application, I get the following error
    message. 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:
    Permission denied

    How can I give permission? I tried Microsoft .NET
    Framework 1.1 Wizards and no result

    Thanks,
    Naci
     
    Naci, Mar 6, 2004
    #1
    1. Advertising

  2. Naci

    fleimeris Guest

    go to control panel->administrative tools and launch component services.
    find your com component, right click and choose properties. than in security
    tab add asp.net account to launch permissions. hope that works

    "Naci" <> wrote in message
    news:7e8301c40332$9ef9b6b0$...
    > How can I change the application's trust level in the
    > configuration file.
    > Hi,
    >
    > I am using COM component with the ASP.NET application.
    > When I run the application, I get the following error
    > message. 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:
    > Permission denied
    >
    > How can I give permission? I tried Microsoft .NET
    > Framework 1.1 Wizards and no result
    >
    > Thanks,
    > Naci
     
    fleimeris, Mar 6, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    822
  2. Learning Cisco
    Replies:
    3
    Views:
    2,254
    Walter Roberson
    Oct 15, 2005
  3. zillah
    Replies:
    0
    Views:
    740
    zillah
    Nov 9, 2006
  4. Fred Atkinson

    Level 14 Privilege Level

    Fred Atkinson, Feb 22, 2007, in forum: Cisco
    Replies:
    10
    Views:
    2,031
    Trendkill
    Feb 26, 2007
  5. Replies:
    4
    Views:
    24,894
Loading...

Share This Page