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.”

.net-framework-error

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.

.net-framework-2.0

Step 3

Launch Administrative Tools in the control panel.

administrative-tools

Step 4

Click on “Microsoft .NET Framework 2.0 Configuration.”

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.

local-intranet-zone

Step 6

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

permission-set

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 ...
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...
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...
  • Miles Thompson

    I found I got around this error by running the installer as Administrator.

  • Dibyendu Choudhury

    Why to allow the full permission?