am having quite a bit of problems getting this to work properly. I am on a Windows XP Professional SP2 machine trying to connect to Windows Server 2003. I have Sql Server 2005 installed on the Server machine. I also have a local instance on my developer machine.
I can use remote debugging to debug both T-SQL statements and managed C# code on my local machine. However, when I try to work with the server, I cannot just hit the Debug button. When I do, I get the error "T-SQL execution ended without debugging. You may not have sufficient permissions to debug. Click Help for more information." Some times, I get the error, "Exception from HRESULT: 0x89710016".
I am an administrator on my local machine and on the server. When I connect to the server, I can see that it is using my server account (through the executable remote debugger program). The Sql Server is set up to use mixed authentication and my account is a full administrator there, as well.
If I merely attach to process when debugging, I get an error that T-SQL cannot be attached, but Managed code can. Going this route, I can debug a managed C# procedure.
I have tested this with firewalls off on both computers. I can Telnet to the server over the correct ports. I have even added every account and its mother to the Administrator role. Using Sql Server Profiler, I can also see that it is trying to use my correct account when it does act with Sql Server. My code is executed, but no T-SQL breakpoints are hit (obviously because it cannot attach).
Can you offer any suggestions?
----------------------------------------
TWljcm8kb2Z0J3MgIzEgRmFuIQ==