Solved

T-SQL Debugger problem

Posted on 2000-04-19
4
535 Views
Last Modified: 2008-02-20
I added the add-in VB T-SQL Debugger from Add-In Manager. I am using VB6. When I start T-SQL Debugger, I get a window saying Visual Basic Batch T-SQL Debugger where I set the DSN and select my stored proc on the second tab. When I click on Execute, it starts the Automation Manager and takes me to my stored proc. Howver, when I do Debug and then F8, I get the message:

The following SQL Sever error occurred: 37000: Cursor is not open

When I click on OK, I get the following message:

The query could not be debugged due to a problem coordinating events with the sever. Check the server and client log to find the exact cause, fix the problem and try again.

Would appreciate an answer from anyone.

Musleh
0
Comment
Question by:mfarid1
4 Comments
 

Expert Comment

by:homey_the_clown
ID: 2916872
IF you have since solved this problem could you please tell me how you fixed it.
0
 

Accepted Solution

by:
mfarid2 earned 100 total points
ID: 2920728
I haven't solved the problem yet. Calling Microsoft Tech Support did not help me.

Musleh
0
 
LVL 1

Expert Comment

by:deeznutz
ID: 2936448
I may have a solution, try restarting the SQL service and closing down AutoMNGR.exe on the server where SQL server is running and restart the SQL service again.
0
 

Expert Comment

by:jyfla_
ID: 4673594
We've had numerous problems with the debugger too.  During an MSSQL7 class, the instructor told us it's definitely "not ready for prime time" and then suggested we try the debugger (free) from Quest software.  We tried it and it's light years better than the native VB TSQL debugger.  We will most likely buy the full-feature package and replace the free version.  It also has a built-in query builder.  Hope this helps you out.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now