If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > A blocking operation is currently executing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-10, 07:16
knasenbasen knasenbasen is offline
Registered User
 
Join Date: Mar 2010
Posts: 1
A blocking operation is currently executing

Hi

I have a .net 2.0 desktop application which randomly gets the following exception when executing a stored procedure in MS SQL 2005. The stored procedure is a simple select query...

A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - A blocking operation is currently executing.)

The calling code looks like this..

try
{
DataTable myTable = new DataTable();
SqlDataAdapter myAdapter = new SqlDataAdapter(sqlCommand);
myAdapter.Fill(myTable);
return myTable;
}
catch (Exception ex)
{

}


Any help on explaining this or any other hints on how to solve it would be enormously appriciated!

/Patrik
Reply With Quote
  #2 (permalink)  
Old 03-15-10, 20:19
rdjabarov rdjabarov is offline
Registered User
 
Join Date: Jul 2003
Location: San Antonio, TX
Posts: 3,611
You're executing 2 or more database requests on the same connection object.
__________________
"The data in a record depends on the Key to the record, the Whole Key, and
nothing but the Key, so help me Codd."
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On