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: "The security debugging option is set but it requires the Visual Studio hosting process which is unavailable" (913451)



The information in this article 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 "Symptoms" 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 "Applies to" section.

REFERENCES

For more information about the hosting process, visit the following Microsoft Developer Network (MSDN) Web site: For more information about the Debug in Zone feature in Visual Studio 2005, visit the following MSDN Web site:Note On this Web page, search for the words "Debug in Zone".

Modification Type:MajorLast Reviewed:3/1/2006
Keywords:kbpending kbExpertiseAdvanced kbvs2005std kbvs2005pro kbbug KB913451 kbAudDeveloper kbAudITPRO