Author: DouglasL | Posted on: 9/18/2008 11:51:50 AM | Views : 447

What might cause a sudden PolicyException loading an assembly, on an ASP.NET site that I didn't touch? Yesterday my Community Server 2008 site hosted on GoDaddy suddenly stopped working with the ASP.NET runtime error shown below. I didn't touch a thing! And yes, everything was working perfectly for months until yesterday. I welcome your suggestions! Thanks,   -Doug

Excerpts from error page:

Execution permission cannot be acquired.
Exception Details: System.Security.Policy.PolicyException: Execution permission cannot be acquired.

The stack trace then shows a series of exceptions all related to permissions on CommunityServer.ASPNet20MemberRole, starting with the PolicyException, then a FileLoadException: "Could not load file or assembly 'CommunityServer.ASPNet20MemberRole...or of its dependencies. Failed to grant permission to execute.", and so forth ...

Go to the complete details ...