RE: Merger Replication - SQL2000
- From: Chris <Chris@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 15:05:01 -0800
A few things
- you cannot use SQL2000 subscriber to merge when publisher is SQL2005.
- how often do you run the merge snapshot agent? if you use backup as
snapshot, and use nosync option when creating subscription, the merge agent
will try to deliver all changes since last snapshot. Meaning, this could be a
lot of changes going across wire if snapshot run weekly - or if disabled.
- General network error - typically means connectivity is getting interrupted.
ChrisB MCDBA
MSSQLConsulting.com
"Des Norton" wrote:
Hi NG.
Please forgive the length of this post, but I feel the background might have
some bearing on a possible solution.
We had a server running Win2003 + SQL 2000 SP3a that was acting as a
publisher and distributor for a single database. We lost the server, and
had it rebuilt as a Win2003R2 + SQL 2005 SP1. We then attached a backup of
the database, and set up the server as a publisher and distributor. Due to
the size of the actual database, we decided to use a test database with a
single table and 5 records.
The subscriber is a client of ours running Win2000Server (SP4) + SQL2000
SP3a. We are unable to upgrade their SQL or install anything on their
server. Their view is that it was working before, it must now continue to
work. We have a Win2003Server + SQL2000 SP3a box in our office (not the
same location as the publisher/distributor). Both us and our client use a
512ADSL line for connectivity.
After 2 weeks of failure, we were unable to get merger replication to work
with as SQL2005 publisher/distributor and a SQL2000 subscriber. Both push
and pull options were unsuccessful. A decision was then made to revert the
publisher/distributor to SQL2000 (SP3a). The database was restored and the
publication successfully set up.
On the publisher/distributor server, we installed a second instance of
SQL2000(SP3a), and set up a pull subscription via FTP to the first instance.
This replication kept failing. We then moved the contents of the single
largest table (4.5GB/11.8mil records) into a separate database, and were
able to successfully set up a pull subscription to the publisher. We then
copied all the records back to the publisher, and synchronised the 2
instances on the same server. This took 45.5 hours. The synchronised
subscriber was then backed up, zipped, and FTPd to our offices, were we
restored it onto our Win2003Server + SQL2000 SP3a box, with the option "NO,
Subscriber already has schema and data" option selected. We then modified
the agent to add verbose logging, and proceeded to start synchronising to
ensure that the replication works.
However, the agent indicates a successful sync, but the log indicates
errors. We then changed the merge agent profile to "slow" and set the
QueryTimeout to 600.
Log start time: [11/26/2007 3:46:04 PM]
Again the logs indicate error:
[11/26/2007 4:55:27 PM]GENHS001.MFP_Collections: {call sp_MSgetversion }
Percent Complete: 33
Processing article 'dataRecordField'
The process could not query row metadata at the 'Publisher'.
The process could not enumerate changes at the 'Subscriber'.
The merge process encountered an unexpected network error. The
connection to Publisher 'GENHS001' is no longer available.
Percent Complete: 0
The process could not query row metadata at the 'Publisher'.
Percent Complete: 0
Category:NULL
Source: Merge Replication Provider
Number: -2147200996
Message: The process could not query row metadata at the 'Publisher'.
Percent Complete: 0
Category:SQLSERVER
Source: GENHS001
Number: 11
Message: General network error. Check your network documentation.
Percent Complete: 0
Category:NULL
Source: Merge Replication Provider
Number: -2147199469
Message: The process was successfully stopped.
On the publisher, the replication monitor indicates that the agent is
suspect as it has not had a response in the last 10 minutes.
The log indicates a connection issue.
Is there any way to know if there was a definite connection issue, or if the
replication simply timed out?
Is there any other possibility?
Any help will be greatly appreciated.
Des Norton
- Follow-Ups:
- Re: Merger Replication - SQL2000
- From: Des Norton
- Re: Merger Replication - SQL2000
- References:
- Merger Replication - SQL2000
- From: Des Norton
- Merger Replication - SQL2000
- Prev by Date: Re: Merge Win2003/XP
- Next by Date: Moving the subscription database to a new server
- Previous by thread: Merger Replication - SQL2000
- Next by thread: Re: Merger Replication - SQL2000
- Index(es):
Relevant Pages
|