visual studio .net debugging:
Hi,
I'm currently trying to stop at breakpoints in some SQL Server 2000
T-SQL stored procedure whilst debugging a C# .NET Web Service running in
VS.NET 2003 on Windows Server 2003 Enterprise Edition, but it just isn't
working.
I can see that my code is successfully calling the DB stored procedures,
albeit without stopping on the breakpoints.
I naturally run "Exec sp_sdidebug 'legacy_on'" each time I reboot.
I've tried enabling SQL Debugging on *each* and every single one of the
130 projects within the VS.NET solution that I'm debugging.
I have tried absolutely everything listed in all the articles in MSDN to
get it working, but it just won't work.
I'm running Windows Server 2003 Enterprise Edition on a Intel SE7505VB2
Dual XEON 3.06MHz.with all the latest patches installed.
I've tried installing SQL Server 2000 sp3a and then uninstalling and
re-installing VS.NET 2003 to reset the mssdi98.dll file.
I've tried changing all the Security Settings and identities that the
various services and applications run under as suggested in MSDN.
I'm not getting any "SQL" error messages displayed in the output window
when I try to start debugging.
I note there was a bug fix on "FIX: Cannot Step into Stored Procedure
from ASP.NET Code on Windows Server 2003", but this suggests the problem
was with VS.NET 2002 and fixed in VS.NET 2003.
Even so, I've tried running IIS6.0 in IIS5 isolation mode which was the
fix for the VS.NET 2002 problem but that didn't work.
I note that in VS.NET, the Server Explorer takes an age to find my local
SQL Server instance and then a further age to find the databases on the
Server.
After a while with the program repeatedly opening & closing DB
connections I get a connection error, even though I have connection
pooling disabled via "pooling=false" in the SQL connection string.
Is this a continuing known problem?
Is there an MS workaround or patch for this?
Is there an MS utility that can check all my settings and tell me why
SQL debugging is not working?
I've also got Compuware DevPartnerStudio 7.1 installed, but this is not
active and is not being used.
Regards,
John
John Dougrez-Lewis