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"

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".
Propriedades

ID do Artigo: 913451 - Última Revisão: 16 de mar de 2007 - Revisão: 1

Comentários