Required permissions cannot be acquired

13,606

Solution 1

permcalc -sandbox

stores the information to an xml file that can be used in the web.config file.

Solution 2

IIS7 Failed to grant minimum permission requests

Solution 3

In general this exception happens because your assembly is requesting permissions that IIS cannot grant.

Share:
13,606
crauscher
Author by

crauscher

Head of rubicon Academy at http://www.rubicon.eu.

Updated on June 04, 2022

Comments

  • crauscher
    crauscher almost 2 years

    Possible Duplicate:
    IIS7 Failed to grant minimum permission requests

    I'm developing an ASP.NET WebSite and I get an exception:

    Required permissions cannot be acquired.

    Is there a way to find out which permission(s) are missing?

    I know the assembly that causes the exception, but I don't know which permission it requires.

  • Tom Lianza
    Tom Lianza over 14 years
    This looks like a cool tool, although when I ran it on the openauth dll ( dotnetopenauth.net ) it exited while generating output with the message "An error has occurred: Collection was modified; enumeration operation may not execute." :(