Groups | Blog | Home
all groups > sql server replication > may 2005 >

sql server replication : Problems using a db with replication.


MariaGuzman
5/30/2005 4:07:23 PM
Hi, we have a database that has a merge publication and a transactional
replication too.

We need to restore one of its backups in another database, so we did it,
and it reported a succesfull. After that when we tryed to execute and
update, returns this error:

"Server: Msg 208, Level 16, State 1, Procedure
ctsv_5650B7828C9A4FDB8D43EB7691270707, Line 2

Invalid object name 'dbo.MSmerge_contents'.

Server: Msg 208, Level 16, State 1, Procedure
ctsv_5650B7828C9A4FDB8D43EB7691270707, Line 2

Invalid object name 'dbo.MSmerge_contents'.

Server: Msg 208, Level 16, State 1, Procedure
ctsv_5650B7828C9A4FDB8D43EB7691270707, Line 2

Invalid object name 'dbo.MSmerge_contents'.

Server: Msg 208, Level 16, State 1, Procedure
ctsv_5650B7828C9A4FDB8D43EB7691270707, Line 2

Invalid object name 'dbo.MSmerge_contents'.

Server: Msg 4413, Level 16, State 1, Procedure
upd_5650B7828C9A4FDB8D43EB7691270707, Line 60

Could not use view or function 'ctsv_5650B7828C9A4FDB8D43EB7691270707'
because of binding errors.

Server: Msg 4413, Level 16, State 1, Procedure
upd_5650B7828C9A4FDB8D43EB7691270707, Line 60

Could not use view or function 'ctsv_5650B7828C9A4FDB8D43EB7691270707'
because of binding errors.

Server: Msg 4413, Level 16, State 1, Procedure
upd_5650B7828C9A4FDB8D43EB7691270707, Line 78

Could not use view or function 'ctsv_5650B7828C9A4FDB8D43EB7691270707'
because of binding errors.

Server: Msg 4413, Level 16, State 1, Procedure
upd_5650B7828C9A4FDB8D43EB7691270707, Line 78

Could not use view or function 'ctsv_5650B7828C9A4FDB8D43EB7691270707'
because of binding errors."

We had to reconfigure the publications in the new database to use it.
After that we eliminated the publications and tryed to execute the
updates, and it was the same error. So we had to reconfire the
publications.

Do some body know why we couldn´t use the new database without the
publications configured??

thanks a lot for your help.


Hilary Cotter
5/30/2005 8:21:04 PM
I think you need to restore the database with the keep_replication switch to
restore the replication metadata.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
[quoted text, click to view]

Khooseeraj Moloye
6/1/2005 3:37:47 AM
Maria,

Did you mean to keep replication on the new database? Was it on the same
server or not?

If you intended just to create a clean copy without replication you need to
do some cleaning up on the newly restored database to get rid of the
replication links. All this is documented in Books Online, but if you still
need help on that please post again.

Raj



bronwenz
5/30/2006 10:57:44 PM

I have the same problem, restoring a publisher database to a different
server. We just want a copy of the data. Can't see any obvious sps
that clean up the meta data properly, could you point us in the right
direction?



--
bronwenz
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1644859.html
Paul Ibison
5/31/2006 12:00:00 AM
Not too sure which thread this is a reply to, but sp_removedbreplication
does a reasonable job of removing most things.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

AddThis Social Bookmark Button