Solved

T-SQL Debugger problem

Posted on 2000-04-19
4
537 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 86
passing a value with stream reader AFTER a ";" 3 67
Copy a row 12 62
Crystal reports - Formula Field code need assistance with code 17 73
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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