Red Gate forums :: View topic - SQL response showing wrong line number in SSMS
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Response 1
SQL Response 1 forum

SQL response showing wrong line number in SSMS

Search in SQL Response 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
cne_mcse



Joined: 29 Apr 2010
Posts: 1

PostPosted: Thu Apr 29, 2010 8:34 pm    Post subject: SQL response showing wrong line number in SSMS Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Mon May 03, 2010 1:42 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group