Groups | Blog | Home
all groups > sql server replication > october 2007 >

sql server replication : SQLServer 2005 - Trans. replication - Unable to create subscriptio


CITS_DBA
10/8/2007 9:08:01 PM
Hi Folks,

Both servers are running SQLServer2005

I have created a publication and now wish to create a push subscription,
however using the wizard and executing the script that the wizard creates,
results in the following:
Via the wizard:
TITLE: New Subscription Wizard
------------------------------
SQL Server could not create a subscription for Subscriber 'X'.
-----------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch.
(Microsoft.SqlServer.ConnectionInfo)
------------------------------
Invalid object name 'sysmergearticles'.
Could not use view or function 'sysmergeextendedarticlesview' because of
binding errors.
The subscription could not be found.
Changed database context to 'Explore_LEO'. (Microsoft SQL Server, Error: 208)

Via the script:
Msg 208, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 494
Invalid object name 'sysmergearticles'.
Msg 4413, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 494
Could not use view or function 'sysmergeextendedarticlesview' because of
binding errors.
Msg 21678, Level 16, State 1, Procedure sp_MSrepl_addpushsubscription_agent,
Line 194
The parameter "@job_password" can be set to "NULL" only when "@job_login" is
set to "NULL"

Also, where is sp_MSrepl_addsubscription??

Many thanks, in advance,
Rgds,
Hilary Cotter
10/9/2007 6:57:00 AM
I have seen this error when you have an existing subscription, delete it and
then manually clean up the subscription database - ie drop some of the
replication tables there.

The proc sp_MSrepl_addsubscription is in the resource database.

The simplest way to create your subscription is to issue the following
command in your publication database

sp_addmergesubscription 'PublicationName', 'SubscriberServerName',
'SubscriptionDatabaseName'

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

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]

AddThis Social Bookmark Button