Error: “Application Attempted to perform an operation not allowed by the security policy…”

Are you getting a .NET Framework error? “Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.”


The tutorial below will show you how to get the Microsoft .NET Framework Configuration tool working on Windows 7 and editing the security permissions to get rid of that error. I don’t always recommend this as a full solution, but for a quick fix or testing to see if your problem really is a security issue, this works great.

Microsoft .NET Security Policy

Step 1

Head over to Microsoft’s website and download the .NET Framework 2.0 Software Development Kit. Without doing this you won’t see configuration under administrative tools.

Step 2

Click through the installer, defaults are fine.


Step 3

Launch Administrative Tools in the control panel.


Step 4

Click on “Microsoft .NET Framework 2.0 Configuration.”


Step 5

Drill down to My Computer > Runtime Security Policy > Machine > Code Groups > All_Code. Right click and go to properties.


Step 6

Click on the “Permission Set” tab and change the permission set to “FullTrust.”


You may also like:

Install Canon ScanGear Tool This is a short guide to setting up the Canon ScanGear Tool to enable the Canon copiers to be able to scan directly from the copy machine to the compu...
Deleted items folder is unavailable I noticed that my IMAP account was having issues with my upgrade from Microsoft Outlook 2007 to Microsoft Outlook 2010. I was trying to delete emails ...
Fix Adobe Premiere Pro has Stopped Working error Hello guys! In this article we will show you how to fix Adobe Premiere PRO has stopped working error. This problem occurs because of graphics card set...
Run only scripts that you trust. (Powershell) If you are like me you have probably run into the following error when trying to run powershell scripts. This becomes very annoying and tedious if you...
PDF Error “The Document Could Not Be Saved&#... There is a common error that one might receive when using Adobe Acrobat Pro or PDF Converter Professional. When either saving or adding password prote...