Solved

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

Posted on 2011-02-14
3
759 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 39

Accepted Solution

by:
lcohan earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Date from a string 4 57
Stored procedure 4 32
Isolation level in SQL server 3 47
Insert from Stored Procedure where some field/s > 0 7 43
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now