Link to home
Start Free TrialLog in
Avatar of drlewicki
drlewickiFlag for United States of America

asked on

Error with Trust

Here's the error I get when running my ASP.Net application:

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: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I tried assigning the trust level in the Web.config file to "Full", "High" and "Minimal" and that didn't work.

Thanks,

Dave

ASKER CERTIFIED SOLUTION
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of drlewicki

ASKER

The assembly lies in an unshared directory on my local machine.
You know you can just add a comment and delete the question if you solve it yourself. ;)

I'm curious...what turned out to be the problem?