Article ID: 919829 - Last Review: July 28, 2006 - Revision: 1.0 The Debug in Zone feature appears to remain enabled after you disable the Visual Studio hosting process in Visual Studio 2005
SYMPTOMSConsider the following scenario. You create a solution in Microsoft Visual Studio 2005. You enable the Debug in Zone feature on the Security tab for the project properties. You disable the Visual Studio hosting process on the Debug tab for the project properties. You press F5 to debug the solution. You receive an error message that resembles the following: The security debugging option is set but it requires the Visual Studio hosting process which is unavailable in this debugging configuration. The security debugging option will be disabled. This option may be re-enabled in the Security property page. The debugging session will continue without security debugging. CAUSEThe Debug in Zone feature requires the Visual Studio hosting process. When you enable the Debug in Zone feature and you disable the Visual Studio hosting process, Visual Studio 2005 disables the Debug in Zone feature. However, Visual Studio 2005 does not disable the Debug in Zone feature by clearing the Enable ClickOnce Security Settings check box on the Security tab for the project properties. This check box must remain selected to make sure that manifest data is generated correctly for ClickOnce application deployment. The Debug in Zone feature may appear to be enabled. However, it is not enabled. Instead, Visual Studio 2005 disables the Debug in Zone feature by clearing the Debug this application with the selected permission set check box in the advanced properties on the Security tab. RESOLUTIONTo use the Debug in Zone feature, you must reenable the Visual Studio hosting process. To reenable the Visual Studio hosting process, follow these steps:
STATUS This behavior is by design. MORE INFORMATIONFor more information about debugging and the Visual Studio hosting process, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms242202.aspx
(http://msdn2.microsoft.com/en-us/library/ms242202.aspx)
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
