SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Transactional Replication
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DURGESH
Posting Yak Master

105 Posts

Posted - 01/18/2014 :  06:26:43  Show Profile  Reply with Quote
Dear All,

Greetings!!

Replication Newbie
As I have created Distribution, Publication and Subscriber on a table "tblTest" of replication type transactional replication. When checked the Replication monitor, got the error as "The initial snapshot for article 'tblTest' is not yet available.". Did work-around and started the "Snapshot Agent". Now got the error as "Cannot DROP TABLE 'dbo.TblTest' because it is being referenced by object 'View_Test'".

Kindly help me to sort out the issue and approach to understand replication.

russell
Pyro-ma-ni-yak

USA
5071 Posts

Posted - 01/21/2014 :  01:39:10  Show Profile  Visit russell's Homepage  Reply with Quote
Can change article properties Action If Name Is In Use from the default of Drop and Recreate to Delete.

Is View_Test an indexed view?
Go to Top of Page

Lunatic
Starting Member

3 Posts

Posted - 03/18/2014 :  14:08:22  Show Profile  Reply with Quote
Durgesh.

Because the table has a view, you have the option to choose the "If Action Name Is In Use" is a >> "Truncate all data in the existing object", regenerate the snapshot and apply on the subscriber.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000