Re: Debugging a stored procedure

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: oj (nospam_ojngo_at_home.com)
Date: 11/16/04


Date: Tue, 16 Nov 2004 00:25:19 -0800

You want to check to see if your files' versions are as listed in kb 839280.

If you think you need the hotfix, you will have to contact MS PSS directly
to acquire such. There is no cost for getting the hotfix. Though, you will
need to provide a credit card # to get to technical support. The support
engineer should reverse the charge and give you the hotfix.

"Mike" <noone@hotmail.com> wrote in message
news:OuV1p%235yEHA.2676@TK2MSFTNGP12.phx.gbl...
> SQL Server 2000
>
> Hi.
>
> I'm trying to set up remote debugging for my SQL Server, so I can step
> through from within VS.NET. The application is running on my PC, while
> the server is on another PC on the same LAN segment. The error I get is:
>
> "Cannot debug stored procedures because the SQL Server database is not
> setup correctly or user does not have permission to execute
> master.sp_sdidebug. Run SQL Server setup or contact database
> administrator."
>
> To try and correct this, I have followed the instructions given here:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvid/html/msdn_storedproceduredebugtech.asp
>
> All files mentioned are in place and registered, and Everyone has access
> to the master.sp_sdidebug procedure. But I still get the error message
> when I try to debug from within VS.NET. An error is appended to the
> application error log that looks like this:
>
> Error: 504, Severity: 16, State: 1
> Unable to connect to debugger on TESTSVR1 (Error = 0x800706ba). Ensure
> that client-side components, such as SQLDBREG.EXE, are installed and
> registered on MIKE. Debugging disabled for connection 71.
>
> The components mentioned are indeed installed. This page here tells me
> there may be a bug in WinXP SP2 which breaks SP debugging, but it doesn't
> give a link to the hotfix, saying we have to contact Microsoft to get it
> (???):
>
> http://support.microsoft.com/kb/839280#kb4
>
> So I'm really not sure if it is the WinXP SP2 bug causing this, or if it's
> just that I haven't set the server up correctly. Does anyone know of a
> solution to this problem, or perhaps even give me a link to the hotfix, as
> I don't want to have to have to negotiate a support contract with
> Microsoft just so they'll take my call.
>
> Cheers,
>
> Mike
>



Relevant Pages

  • RE: Cannot Debug Stored Procs from VS.NET
    ... for debugging stored procedure in XP after installing the hotfix. ... is it possible for your to change the SQL Server startup account ... Online Partner Support Specialist ...
    (microsoft.public.sqlserver.programming)
  • Re: How to uninstall an incomplete Hotfix?
    ... The forum for SQL Server 2008 ... Windows Update then requested I install "Hotfix for .NET Framework ...
    (microsoft.public.windowsupdate)
  • Re: Microsoft Security Bulletin MS02-034
    ... We're aware of the need for a better hotfix installation story and we're ... > Is there a good reason why the SQL Server security team can't ship ... >> path for this SQL Server instance>\Binn folder and the Sqlservr.pdb ...
    (microsoft.public.sqlserver.security)
  • Re: Microsoft Security Bulletin MS02-034
    ... We're aware of the need for a better hotfix installation story and we're ... > Is there a good reason why the SQL Server security team can't ship ... >> path for this SQL Server instance>\Binn folder and the Sqlservr.pdb ...
    (microsoft.public.security)
  • Re: ESENT 215
    ... I think you do not get the correct hotfix KB934396 from Microsoft Customer ... Microsoft CSS Online Newsgroup Support ... SQL Server 2000 SP4 ...
    (microsoft.public.windows.server.sbs)