We were parsing the error message to get the line number. In SQL Server 2000, the line number is included in the error message. However, in SQL Server 2005 and above, the line number is not in the error message, and that's why we couldn't get the line number.
Fixed the error handling code to get the line number from the exception instead of the error message.
Checked in to ADS-12.0.0, ADS-13.0.0, and trunk.
Issue #8673 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 12.0.19-2 |
No time estimate |
1 issue link |
relates to #10828
Issue #10828Error Messages for Procedure Editor does not display line number for SQL Server 2005,2008 and 2012 |
We were parsing the error message to get the line number. In SQL Server 2000, the line number is included in the error message. However, in SQL Server 2005 and above, the line number is not in the error message, and that's why we couldn't get the line number.
Fixed the error handling code to get the line number from the exception instead of the error message.
Checked in to ADS-12.0.0, ADS-13.0.0, and trunk.