Visual Studios调试错误 - VS托管过程

时间:2016-02-10 11:27:22

标签: vb.net visual-studio visual-studio-2010 debugging

在使用ClickOnce发布应用程序后,我在VS 2010中收到以下错误。

Error - 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

现在每次我尝试调试我的项目时,当我尝试运行任何数据库查询时,我都会收到“未指定的错误”。我尝试了多个不同的查询,所有这些查询都在一个新的空白解决方案上工作,而不是在我当前的查询中。

注意:在调试时,我没有收到应用程序发布版本的“未指定错误”。

不确定我能做些什么来修复它。这看起来与我的项目设置有关,但我看不到任何不合适的地方。

罗布

1 个答案:

答案 0 :(得分:1)

回答迟到但应该帮助其他人

转到项目属性并在调试选项卡集下,或勾选"启用Visual Studio托管过程"。这应该可以解决您遇到的错误。