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
---------------------------
在其他帖子中遵循建议尝试安装SQL Server 2008的SP2,但未成功。服务器实际上是(local),不知道为什么Visual Studio将其报告为远程。