Solved

Row handle referred to a deleted row or a row marked for deletion.

Posted on 2010-09-01
3
2,252 Views
Last Modified: 2012-06-22
HI, I am working with linked servers and getting the error "Row handle referred to a deleted row or a row marked for deletion." Actually, the full error is
OLE DB provider "SQLNCLI10" for linked server "..." returned message "Row handle referred to a deleted row or a row marked for deletion.". [SQLSTATE 01000] (Error 7412).  The step failed.
So my destination server is failing with that error. The step it's failing on is a stored procedure on the "source" server that carries out many updates , inserts and deletes on the destination server. I am not getting this error all the time but often enough. What does this error mean and how can I resolve it?

Thank you.
0
Comment
Question by:AlizaN
[X]
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
3 Comments
 
LVL 1

Expert Comment

by:revteam
ID: 33583793
Need to check the dependent triggers or function on the tables
0
 
LVL 1

Author Comment

by:AlizaN
ID: 33586600
Check them for what?
0
 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 37096377
Considering the comments:

"The step it's failing on is a stored procedure on the "source" server that carries out many updates , inserts and deletes on the destination server."

In my opinion the issue you are having is caused by a slow "source" environment and from the little details posted above I suggest to lower the batch size you process in one cycle. Other thing to do at both source and destination - at least UPDATE SATTISTICS table_name for all tables having heavy INSERTs/DELETs and optimize as much as you can the SQL code, add missing (if any) indexes.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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