【发布时间】:2011-08-23 03:39:26
【问题描述】:
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 method or property cannot be called on Null values. (System.Data)
------------------------------
BUTTONS:
OK
------------------------------
按确定后。
---------------------------
Microsoft SQL Server Management Studio
---------------------------
Unable to start program 'MSSQL:://(local)/master/sys/=0'.
---------------------------
OK
---------------------------
在 Visual Studio 2010 中
---------------------------
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,但未成功。服务器实际上是 (local) ,不知道为什么 Visual Studio 将其报告为远程。
【问题讨论】:
-
我认为您需要确保 DTC 已安装和配置...它是在 SSMS 中启用调试的原因...
标签: visual-studio-2010 tsql sql-server-2008