Cannot Debug Stored Procs from VS.NET
From: Alex Clark (alex_at_theclarkhome.SPAMTIN.net)
Date: 11/18/04
- Next message: Alejandro Mesa: "RE: Function and Stored procedure Problem"
- Previous message: Kieran: "Re: Function and Stored procedure Problem"
- Next in thread: Aaron [SQL Server MVP]: "Re: Cannot Debug Stored Procs from VS.NET"
- Reply: Aaron [SQL Server MVP]: "Re: Cannot Debug Stored Procs from VS.NET"
- Reply: Michael Cheng [MSFT]: "RE: Cannot Debug Stored Procs from VS.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 18 Nov 2004 14:53:23 -0000
Hi All,
After installing a hotfix for SQL Server on my Win2K3 Server, I've been
unable to debug any stored procedures running on it from my XP Pro machine
running VS.NET 2003 EA.
To clarify, I can step into Stored Procedures from my workstation on a
database running on the server. However, if I set a breakpoint in the SP
and run my VB.NET App, it never hits the breakpoint.
I've done a repair of VS.NET on my XP workstation, and run a
remote-debugging-components install of VS.NET on my server, but to no avail.
I've ensured that SQL Debugging is enabled for my project, and I've called
EXEC SP_SDIDEBUG 'legacy_on' after each time I've restarted to SQL service,
but this hasn't helped.
I've also tried giving Domain Users and Everyone full access to the sqldbreg
DCOM component on both machines, running SQL Server as a Domain Admin
account instead of LocalSystem, and restarting the service. It simply will
not hit breakpoints in my stored procs.
After checking the event log on the server, I found this each time a
connection is opened from my VB.NET app:
>>
SQL Server is running as 'NT AUTHORITY\SYSTEM' and cannot connect to the
debugger on machine 'DEFIANT' (error = 0x80070005 Access is denied. ). Use
one of the following options to fix this error. 1) Run SQL Server as "Local
System", as a domain account, or as a local account with identical usernames
and passwords on both machine 'HONSERVER' and 'DEFIANT'. 2) Verify that
machine 'HONSERVER' can open files on machine 'DEFIANT'. Debugging disabled
for connection 51.
>>
Can anyone offer any advice on this? I'm at my wits end!
TIA,
Alex Clark
- Next message: Alejandro Mesa: "RE: Function and Stored procedure Problem"
- Previous message: Kieran: "Re: Function and Stored procedure Problem"
- Next in thread: Aaron [SQL Server MVP]: "Re: Cannot Debug Stored Procs from VS.NET"
- Reply: Aaron [SQL Server MVP]: "Re: Cannot Debug Stored Procs from VS.NET"
- Reply: Michael Cheng [MSFT]: "RE: Cannot Debug Stored Procs from VS.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|