Export (0) Print
Expand All
0 out of 10 rated this helpful - Rate this topic

SQL Debugging: Unable to Start SQL Debug Session

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Visual Web Developer

Express

No

No

No

No

No

Standard

No

No

No

No

No

Pro/Team

Yes

Yes

Yes

Yes

Yes

When you try to start SQL debugging, you might get the following error message:

Unable to start SQL debug session. Ensure sqldbreg2.exe and proxy/stub DLL sqldbg.dll are registered on this machine.

This message can result from an access permissions problem on NTFS partitions. The SQLDebugger user account must have Read and Execute permissions for the debugger components in Program Files\Common Files\Microsoft Shared\SQL Debugging and the Windows System32 directory. Otherwise, this error message results.

Add SQLDebugger to the Access Control List for those directories and make sure Read and Execute are selected.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.