Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 945356 - Last Review: January 30, 2008 - Revision: 1.0
The Permission Calculator may add exaggerated permissions 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:
- On the Tools menu, click Options.
- In the Options dialog box, expand Debugging, and then click General.
- 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:
- In Solution Explorer, right-click the project name, and then click Properties.
- Click the Security tab.
- 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:
APPLIES TO
- Microsoft Visual Studio 2008 Standard Edition
- Microsoft Visual Studio 2008 Professional Edition
- Microsoft Visual Studio 2008 Academic Edition
| kbtshoot kbpubtypekc kbprb KB945356 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate