Permission Calculator may add exaggerated or overly restrictive permissions to the application in Visual Studio 2008

When you run the Permission Calculator in Microsoft Visual Studio 2008, the Permission Calculator may add exaggerated permissions or overly restrictive permissions to the application.


This problem occurs when the Permission Calculator cache files are not installed on the computer that is running Visual Studio 2008.


To work around this problem, use one of the following methods.

Method 1

In Visual Studio 2008, turn on the Exception Assistant. When you debug the application, the Exception Assistant is displayed. You can use the Exception Assistant to grant specific permissions for the application. This process is required for each permission.

To turn on the Exception Assistant in Visual Studio 2008, follow these steps:

1. On the Tools menu, click Options.
2. In the Options dialog box, expand Debugging, and then click General.
3. Click to select the Enable the exception assistant check box, and then click OK.

Method 2

Go directly to the Security tab of the project options, and then manually review the permissions. To do this, follow these steps:

1. In Solution Explorer, right-click the project name, and then click Properties.
2. Click the Security tab.
3. In the ClickOnce Security Permissions area, review the permissions, and then manually grant the permissions that are required for the application.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the “Applies to” section.


For more information about how to determine the permissions for a ClickOnce application, visit the following Microsoft Developer Network (MSDN) Web site: (

For more information about the Exception Assistant, visit the following MSDN Web site: (

Microsoft Visual Studio 2008 Standard Edition
Microsoft Visual Studio 2008 Professional Edition
Microsoft Visual Studio 2008 Academic Edition


Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

To prove that you're not a bot, enter this code
Anti-Spam Image