update error

Posted on 2010-09-03
Last Modified: 2012-05-10
the previous update command does not execute

i get this error
Error: SQLSTATE[HY000]: General error: 0 [Microsoft][SQL Native Client]Connection is busy with results for another command (SQLExecute[0] at ext\pdo_odbc\odbc_stmt.c:133)

is there a way to set a command to stop the other command
Question by:rgb192
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 33596041
what is the service pack of the installed version?

Author Comment

ID: 33596090
LVL 12

Accepted Solution

HugoHiasl earned 500 total points
ID: 33596102
You cannot have lets say a datareader open when you try to update the database with another command object using the same connection.

If there is another command object open or the result set, that still will be fetching data, you cannot use the same connection for another command.

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


Author Comment

ID: 33596188
maybe there is locking

i want to stop previous command so i can run new command

Author Comment

ID: 33596192
or maybe I can pause and wait

Expert Comment

ID: 33596305
windows 7 is the latest windows so it doesnt have  any service pack with it..

Author Comment

ID: 33596583

Author Closing Comment

ID: 33612960
I closed the connection.

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pivot Query Problem 9 49
Query to return total 6 24
convert null in sql server 12 57
SQL Server - Set Field Values ito Zero Based on Related Table 4 44
Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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