August 26, 2004 at 1:52 am
Remote computer (subscriber): SS 2000 Desktop, Mixed Mode. Name: LGBBPS
Local computer (publisher, distributor): SS 2000 Ent, Mixed Mode. Name: CHI7155
Both are on the same AD network, and SQL Agent is running under my Domain account at both.
Replication has worked for this two computers for months, but now I get "The subscription to publication 'IPP' is invalid"
The Merge agent seems to run through its entire script before this error is generated. The last script to run is "MotorbridgeContainer_327.trg".. there's no object with a 328 in the publisher folder.
At the same time I have replication working from publisher CHI7155 with 6 other remote computers with no problems.
What can I do? I searched MS' KB but nothign seems to apply.
I un/re-registered LGBBPS to EM. LGB is a subscriber on the publishers Replication settings (Subscription tab) ,and it's a push replication that is failing.
August 26, 2004 at 2:20 am
I forgot to mention, I did run Profile on the subscriber, so I think I should have all the activity that was going on, if that helps.
August 26, 2004 at 2:27 am
Hi Vince
Check the error details for the merge agent. It should give you the exact script which fails. When check the script. I've seen cases that a script is calling objects which no longer exist or don't exist on the subscriber. When applying the script to the supplier it will fail and the merge agent stops.
About the fact that there is no script 328, this is you might just look for the next higher number 329 or 330, that's most likely the failing script.
M
[font="Verdana"]Markus Bohse[/font]
August 27, 2004 at 7:53 am
Hi - It sounds as if your snapshot is invalid. The publication has a setting called retention days, check this value & if it reads 14days (for example) it will expire after this period even though the merge agent has been running all the while.
A quick way to get a new snapshot done is: Generate a new snapshot & restore the subscription DB. When done drop the old subscription & recreate using the option - Subscriber DB allready has schema & data. The merge agent will kick in after the meta data has been loaded.
August 29, 2004 at 2:48 pm
Markus/Steve:
I've tried both your ideas.
Markus: the specific error I'm getting is this:
The subscription to publication 'IPP' is invalid.
(Source: Merge Replication Provider (Agent); Error number: -2147201019)
---------------------------------------------------------------------------------------------------------------
The remote server is not defined as a subscription server.
(Source: MTLBPS (Data source); Error number: 14010)
---------------------------------------------------------------------------------------------------------------
This is after I removed all subscriptions from the publication.
Removed all articles from the publication.
Deleted the publication.
Rebuilt the publication and resubscribed.
The servers that worked before, still work, the servers that didnt' work before still dont.
In the above error.. it's from the Merge Agent. MTLBPS is the remote subscriber (Push).
August 29, 2004 at 3:51 pm
KB217395 solved my problem.
My two problem servers did not have themselves registered in their own internal tables.
For example, suppose your local server was named "SERV_LOCAL", the remote server was named "SERV_REMOTE",
srvid srvstatus srvname srvnetname
----- --------- --------------- ------------ ...
1 1 SERV_LOCAL SERV_LOCAL
2 1 SERV_REMOTE SERV_REMOTE
After running those steps, the sysservers table should look like the following:
srvid srvstatus srvname srvnetname
----- --------- --------------- ------------ ...
0 0 SERV_LOCAL SERV_LOCAL
2 1 SERV_REMOTE SERV_REMOTE
Note that server ID (srvid) should be 0 for the local server
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply