Erland,
Thanks for the reply. SQL Server is logging in under the adminsitrator
account. The SQL Server machine is not part of a domain. Actually none of
the machines in the network are part of a domain. They are all part of a
workgroup. SQL Server 2000 is running on Windows 2000 Server. The Client
and the Server are both at Service Pack 3. Remote debugging was supposedly
disabled by default in SP3. I have tried the command:
exec sp_sdidebug 'legacy_on'
but with both client and server on SP3, this causes probelms. If I don't do
the above command, it will run the proc on the client (XP Pro) but won't
stop. If I do the above command, then try to debug on the client, I get the
following error message:
Server: Msg 504, Level 16, State 1, Procedure sp_sdidebug, Line 1
[Microsoft][ODBC SQL Server Driver][SQL Server]Unable to connect to debugger
on WEBSERVER (Error = 0x800706ba). Ensure that client-side components, such
as SQLDBREG.EXE, are installed and registered on THINKPAD. Debugging
disabled for connection 55.
If I turn it off with:
exec sp_sdidebug 'legacy_off'
it will run the proc on the client, without errors, but it won't stop on any
break points.
Could it be a password issue? Do the SQLDebugger accounts on both machines
have to have the same password or be in the same groups? I have added the
Everyone group to the Access and Launch security on the server but it still
won't stop on breakpoints or let me single step.
Any additional ideas would be greatly appreciated. When I get it fixed,
I'll put together a document on how to fix it.
Thanks again,
-Steve
[quoted text, click to view] "Erland Sommarskog" <sommar@algonet.se> wrote in message
news:Xns945F815DACF21Yazorman@127.0.0.1...
> Steve Meier (snaggs34@hotmail.com) writes:
> > SQLServer Developer Edition on Machine A
> >
> > Enterprise Manager running on remote machine B
> >
> > Both machines are in the same subnet
> >
> > I open Enterprise Mgr on Machine A, right click on the Stored Proc,
enter
> > the parameters and the debugger stops on the first line and I can single
> > step through it just fine.
> >
> > I open Enterprise Mgr on Machine B and connect to the same database on
> > Machine A, right click on the same Stored Proc, enter the same
> > parameters and the debugger doesn't stop, but it runs the proc al the
> > way through. Even if I set a break point on one of the lines from this
> > machine it doesn't stop. I don't get any errors, it just runs right
> > thought the proc.
> >
> > I've been through all the DCOM settings, Logins with Admin rights and
> > not a SYSTEM account. Checked all the debug files and have them all
> > registered.
>
> Which versions of the tools and server do you have on the machines? I
> believe there is a problem if you run Query Analyzer SP2 or earlier
> against a server that runs SP3. Microsoft did some security fixes in SP3
> which resulted in this effect.
>
> Also, make sure that SQL Server is running on a domain account and not
> as Local System.
>
>
> --
> Erland Sommarskog, SQL Server MVP, sommar@algonet.se
>
> Books Online for SQL Server SP3 at
>
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp