views:

983

answers:

3

Hi, 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?

Kind regards

christian

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

+1  A: 

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

cgreeno
+1  A: 

permcalc -sandbox

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

crauscher
This looks like a cool tool, although when I ran it on the openauth dll ( http://www.dotnetopenauth.net/ ) it exited while generating output with the message "An error has occurred: Collection was modified; enumeration operation may not execute." :(
tlianza