Replication fails

  • Hi All, We have an issue where we are trying to replicate a DB using SQL replication, the Replication Monitor reports an error:

    Cannot TRUNCATE TABLE 'dbo.xxx' because it is being referenced by object 'View_xxx'.

    Although I am the DBA, I do not have an inside knowledge of this particular DB. Anyone know how I can fix this?

    Many thanks in advance

  • When does this happen?

    Is it in the initialization phase or after replication has already started transferring data?

  • It sounds like a view has SCHEMABINDING set. In the article properties is it set to Drop or Truncate the table at the Subscriber? Truncate should work but Drop will not if SCHEMABINDING is set up on a view. No table alterations can be made until the view is dropped.

  • are you saying that teverytime we wnat to do a stapshot we will have to drop and recreate the view?

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply