Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

update error

Posted on 2010-09-03
8
301 Views
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
0
Comment
Question by:rgb192
8 Comments
 
LVL 143

Expert Comment

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

Author Comment

by:rgb192
ID: 33596090
sp3
0
 
LVL 12

Accepted Solution

by:
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.


0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:rgb192
ID: 33596188
maybe there is locking

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

Author Comment

by:rgb192
ID: 33596192
or maybe I can pause and wait
0
 

Expert Comment

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

Author Comment

by:rgb192
ID: 33596583
????
0
 

Author Closing Comment

by:rgb192
ID: 33612960
I closed the connection.
thanks
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help creating a stored procedure 4 63
Truncate vs Delete 63 107
Problem with SqlConnection 4 177
Move SQL 2005 Express to Server 2012R2 19 142
by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

790 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