Visual studio 2010 调试T-SQL或存储过程失败
Sql Server 2008 SP2 在Management Studio 2008中,在任何T-SQL上设置断点并按下调试按钮后:Visual studio 2010 调试T-SQL或存储过程失败,visual-studio-2010,tsql,sql-server-2008,Visual Studio 2010,Tsql,Sql Server 2008,Sql Server 2008 SP2 在Management Studio 2008中,在任何T-SQL上设置断点并按下调试按钮后: TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to start debugger ------------------------------ ADDITIONAL INFORMATION: Data is Null. This met
TITLE: Microsoft SQL Server Management Studio
------------------------------
Failed to start debugger
------------------------------
ADDITIONAL INFORMATION:
Data is Null. This method or property cannot be called on Null values. (System.Data)
------------------------------
BUTTONS:
OK
------------------------------
按OK之后
---------------------------
Microsoft SQL Server Management Studio
---------------------------
Unable to start program 'MSSQL:://(local)/master/sys/=0'.
---------------------------
OK
---------------------------
在VisualStudio2010中
---------------------------
Microsoft Visual Studio
---------------------------
The Transact-SQL debugging session could not be started on the remote host. Verify that the instance of SQL Server is configured to enable Transact-SQL debugging.
---------------------------
OK
---------------------------
按照其他线程中的建议将SP2应用于SQL Server 2008,但未成功。服务器实际上是(本地的),不知道为什么Visual Studio将其报告为远程的。请检查运行调试器的帐户是否是sysadmin角色的成员 此外,如果您正在运行windows防火墙,则需要将端口添加到规则列表中 查看此链接以了解更多详细信息
检查运行调试器的帐户是否是sysadmin角色的成员 此外,如果您正在运行windows防火墙,则需要将端口添加到规则列表中 查看此链接以了解更多详细信息
我认为您需要确保安装并配置了DTC。。。这就是在SSMS中启用调试的原因…我认为您需要确保安装并配置了DTC。。。是什么使SSMS中的调试成为可能。。。