SQL Debugging: Unable to Start SQL Debug Session
This topic applies to:
Edition |
Visual Basic |
C# |
C++ |
Web Developer |
---|---|---|---|---|
Express |
||||
Standard |
||||
Pro and Team |
Table legend:
Applies |
|
Does not apply |
|
Command or commands hidden by default. |
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.
See Also
Reference
SQL Debugging Setup Errors and Troubleshooting