SQL response showing wrong line number in SSMS

cne_mcsecne_mcse Posts: 2
Hi All,

I am trying to locate a deadlock in our application and SQL Response keeps reporting a line number not corresponding to the correct line number in SSMS. Please help

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    I'm sorry to say that I can't offer any suggestions because the line number reported in the deadlock details is provided by SQL Server. SQL Response has read it from the SQL Server error log and I have noticed that it can be off by a line or two. I've brought it to the attention of the Response team, but since we have no control over the information, we would have to come up with an ingenious workaround, if there is a problem.

    My best guess is that the deadlock is happening on a stored procedure, and the "internal" compiled version isn't correctly resolved back to the "source code" used to create it.
Sign In or Register to comment.