Home Articles My Account Messages Tools Join
Tech Blog, ASP.Net, VB.Net, C#.Net, Programming Help, Help Guide
StellarPC.com | Fixing "Application attempted to perform an operation not allowed by the security policy..." (VB.Net)
Fixing "Application attempted to perform an operation not allowed by the security policy..." (VB.Net)
Written by: Justin Rich

Fixing "Application attempted to perform an operation not allowed by the security policy..."

How to fix "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." error.

This error usually occurs on a network when you have an executable application that you're trying to run from your local computer across the network. The security settings for your local computer are to blame, and not the server.

To fix this error, you will need to do exactly as the error says and go to the .Net Framework Configuration tool in Control Panel > Administrative Tools > .Net Framework X.X Configuration > Runtime Security Policy > Adjust Zone Security.

From here, you will make changes to the computer or the user depending on your desire for security, click on the Local Intranet and adjust the slider bar to Full Trust. By default, it's one notch off that. After changing it, hit next, verify, and then Finish. Now try running your application across the network again, and it should work fine.

The only stipulation for this process is that the local computer will have to have the .Net Framework version installed. This can be downloaded for free from Microsoft's Windows Update website.

For 2.0 applications, the local computer must have the 2.0 SDK installed, which can be found here: http://www.microsoft.com/downloads/details.aspx?FamilyID=FE6F2099-B7B4-4F47-A244-C96D69C35DEC&displaylang=en

If you have any advice for this problem, feel free to let me know and I'll include it in the article.
New Post Next 50 | Previous 50
Post# Subject: Posted By: Time:
2 How to adjust the slider bar to Full Trust of Local Int Preeti 11/25/2009 1:30:21 AM
1 Just to add - if this above solution doesn't work, make Evan Cummings 3/17/2009 12:28:27 PM
New Post Next 50| Previous 50