SQL response showing wrong line number in SSMS

Monitor, diagnose and receive alerts to problems across your SQL Servers.

Moderators: eddie davis, david connell, dlkj, Colin Millerchip, priyasinha, Emma A

SQL response showing wrong line number in SSMS

Postby cne_mcse » Thu Apr 29, 2010 8:34 pm

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
cne_mcse
 
Posts: 1
Joined: Thu Apr 29, 2010 8:30 pm

Postby Brian Donahue » Mon May 03, 2010 1:42 pm

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.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Response 1

Who is online

Users browsing this forum: No registered users and 0 guests