Article ID: 817253 - Last Review: February 24, 2006 - Revision: 3.2 Cannot debug a stored procedure in Visual Studio 2005 or in Visual Studio .NET after you rename SQL ServerOn This PageSYMPTOMSWhen you rename your installation running Microsoft SQL Server a different name
from your host server, you cannot step into the SQL stored procedure to debug
in the Visual Studio 2005 or Visual Studio .NET development environment. T-SQL debugger
silently executes the stored procedure and then does not stop at the breakpoint
in the stored procedure. CAUSEDuring installation, SQL Server stores the server name in a
system table entry that the debugger uses. When you modify the SQL Server name,
the system table entry updates the server name. For T-SQL debugging to work
correctly in Visual Studio 2005 or in Visual Studio .NET, the computer name and the SQL Server installation name must
match. If you rename the SQL Server installation, the computer names do not match the SQL
Server installation name, and then T-SQL debugging fails. STATUS This
behavior is by design. MORE INFORMATIONSteps to Reproduce the Behavior
REFERENCES For additional information, click the following
article number to view the article in the Microsoft Knowledge Base: 317241
(http://support.microsoft.com/kb/317241/EN-US/
)
PRB: Renaming a Host Computer for SQL Server Causes Stored Procedure Debug to Fail
APPLIES TO
| Article Translations
|
Back to the top
