SQL 服务器 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 但没有成功。服务器实际上是(本地),不知道为什么 Visual Studio 将其报告为远程。
最佳答案
检查运行调试器的帐户是否是 sysadmin 角色的成员
此外,如果您正在运行 Windows 防火墙,则需要将端口添加到规则列表中
查看此链接了解更多详情
http://technet.microsoft.com/en-us/library/cc646024.aspx
https://stackoverflow.com/questions/7156011/
相关文章:
objective-c - 如何在 Objective-C 中调试单例
drupal - 如何总结 drupal 7 中 View 表的列?
php - PEAR 邮件连接拒绝 smtp.gmail.com
android - 向 RadioGroup 和 Radiobutton 添加过渡动画
security - 如何在 Web 应用程序中保护 HTML 电子邮件?
visual-studio - Visual Studio 安装项目预生成事件
iphone - 在 iOS 上捕获视频时查询最佳像素格式?