Microsoft KB Archive/913451

= BUG: Error message when you enable the Debug in Zone feature for projects in a solution and then you debug the solution in Visual Studio 2005: &quot;The security debugging option is set but it requires the Visual Studio hosting process which is unavailable&quot; =

Article ID: 913451

Article Last Modified on 3/16/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Team System Architect Edition
 * Microsoft Visual Studio 2005 Team System Developer Edition

-





SYMPTOMS
Consider the following scenario. You create a solution in Microsoft Visual Studio 2005. You enable the Debug in Zone feature for the projects in the solution. You set these projects as multiple startup projects. You create a breakpoint in one of the projects. You press F5 to debug the solution. In this scenario, you may receive the following error message:

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.



CAUSE
This issue occurs because the following conditions are true:
 * You configure multiple startup projects.
 * A project enters into break mode.

In this scenario, the rest of the projects start without a Visual Studio hosting process. This behavior occurs because the remote procedure call (RPC) may stop responding if the other projects start together with a Visual Studio hosting process.

However, the Debug in Zone feature requires that you start debugging a project with a Visual Studio hosting process. Therefore, you receive the error message that is mentioned in the &quot;Symptoms&quot; section if no Visual Studio hosting process is found.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

