?
Solved

Help needed - Cannot bulk copy into a table 'tablename' enabled for immediate-updating subscriptions

Posted on 2011-02-14
3
Medium Priority
?
804 Views
Last Modified: 2012-06-21
Hi!

I have a remote location with 3 desktop.   They have a merge replication going on between them so that the operators know what "alarms" are in the database.

One of the desktop also has a transactional replication setup with another server on the network that the other users use for their queries.

For some reason ( what I believe to be a buggy application ), the data in the alarm table has been lost in the desktop database.

I was able to bulk copy using a DTS from station C to the station B ( merge replication between all them).
I cannot bulk copy with the DTS from station C to station A because of the transactional replication.

Error I get is :
Error : Cannot bulk copy into a table 'tablename' enabled for immediate-updating subscriptions.

Is there anyway I can recover the data and copy inside that table?  I tried using a DTS with object / query and it does not work.

How can I "re-import" these data?

Please note that Station A is the one running the merge publication and is the subscriber to the transactional replication...  SQL Server 2000 / MSDE is still used for all these PC.

Thanks a lot experts!

Frank
0
Comment
Question by:Francois_Tremblay
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
lcohan earned 2000 total points
ID: 34896972
Just a note that this is not a standard process and should not be applied without backing up ALL data on all instances merege and transactional replication servers/databases. BTW, how is transactional setup on the box where data disappeared from the table? Think this may hapen to you in the future and it may be even worse. Think the delete process could propagate into your merge replicated databases... It may be worth to figure out how and why data got out of there as well.
So here's what I would try: look at the table you have problems with and see if you can disable the triggers on that table - there must be replication triggers and disable them ALL do your data import and enable them back. By doing this you could break data integrity in your transactional replication and data could be deleted again and that's the reason I asked to try figure out how/why got deleted in the first time.

Good luck!
0
 

Assisted Solution

by:Francois_Tremblay
Francois_Tremblay earned 0 total points
ID: 34910515
I found the solution

http://support.microsoft.com/kb/275680/en-us

We need to use an option to bulk copy without using fast loading.  In SQL Server 2000, the check box does not appear in the export data wizard.  You have to design and draw the DTS and in th e transformation link you can edit and change the option.
0
 

Author Closing Comment

by:Francois_Tremblay
ID: 34941372
I found the solution on microsoft knowledge base
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

864 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