Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-02-14
3
Medium Priority
?
797 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
[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
  • 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

618 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