Export (0) Print
Expand All

SQL Debugging: Unable to start T-SQL Debugging. Could not attach to SQL Server process

Unable to start T-SQL Debugging. Could not attach to SQL Server process

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not applyTopic does not applyTopic does not applyTopic does not apply

Standard

Topic does not applyTopic does not applyTopic does not applyTopic does not apply

Pro and Team

Topic appliesTopic appliesTopic appliesTopic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

This error occurs when the debugger cannot register the user with SQL Server 2005 for debugging. The most likely cause is the lack of necessary permissions on the SQL 2005 instance. Connecting with system administrator to SQL Server is not sufficient; the Windows login of the Visual Studio user must also be a member of the system administrator role in SQL Server.

For more information, see How to: Set SQL Server Permissions for Debugging

Community Additions

ADD
Show:
© 2014 Microsoft