Hey again,
Okay, I think I know why this is happening, but I don't really know how else
to do it. I tried using repladdcolumn and got this error...
"Msg 21260, Level 16, State 1, Procedure sp_repladdcolumn, Line 148
Schema replication failed because database 'PSRLRGroupTest' on server
'TITANIUM' is not the original Publisher of table '[dbo].[Client]'."
Which then made me think about how this all started. We have a live
production database with a merge publication at subscribers who sync over
HTTPS. To test updates, I took the live db, made a backup, restored it as a
"Test" db and then created a new merge publication for our
developers/testers to use almost like a staging database so that we could
test updates and rollout only if successful. The previous errors such as...
"Msg 21531, Level 16, State 1, Procedure sp_MSmerge_altertable, Line 360
The DDL statement cannot be performed at the Subscriber or Republisher.
Msg 21530, Level 16, State 1, Procedure sp_MSmerge_ddldispatcher, Line 181
The DDL operation failed inside merge DDL replication manipulation.
Msg 3609, Level 16, State 2, Line 1
The transaction ended in the trigger. The batch has been aborted."
....were on that new database and publication. If you look at that and the
"not original publisher" error, it may be because it was a backup of the
production database. Forgive me if this was obvious to anyone.
Alter table seems to work fine on the production database, my question
therefore is this. How can one setup an identical testing environment as I
tried to. Can I not use a backup of the production db? Do I need to create a
completely new db, obviously based on the same schema and then take it from
there?
Thanks,
-Pat Ramadass
[quoted text, click to view] "Paul Ibison" <Paul.Ibison@Pygmalion.Com> wrote in message
news:O0ejzbwiGHA.4884@TK2MSFTNGP03.phx.gbl...
> Sorry - meant to say sp_repladdcolumn in my previous post (no
> air-conditioning here and it's like working in a fire-station!). I'm
> thinking if it works, it would make sense if you had some SQL Server 2000
> subscribers, so I'm wondering about the compatibility level is set
> correctly.
> Cheers,
> Paul Ibison SQL Server MVP,
www.replicationanswers.com > (recommended sql server 2000 replication book:
>
http://www.nwsu.com/0974973602p.html)
>
>
>
>
>
>
>
>