T-SQL或存储过程调试失败

3

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将其报告为远程。


我觉得你需要确保 DTC 已经安装和配置... 这是启用 SSMS 中调试的必要条件... - M.R.
1个回答

0

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接