Quantcast
Channel: SQL Server Replication forum
Viewing all 4054 articles
Browse latest View live

how to check whether the current snapshot is validated?

$
0
0

I have removed some articles of my publication in transactional replication. I use the script below, and contrary to what I have found in documentation, it does not invalidate the snapshot of that publication.

I normally test this by running the snapshot agent, which, after about 12 seconds, tells me that there is no need to run a full snapshot.

How can I test whether the snapshot is good, without running it?

I don't want to run it, because if it is not good, I don't want to stop it in the middle, and I don't want to run it during the office hours.

thanks and regards

Marcelo

-- the script to remove an article from the replication is: (1) and (2) below:
-- to be run at the publisher (in this case SERVER MYSERVER - DATABASE MYDATABASE
-- (1)
--use [MYDATABASE]
--exec sp_dropsubscription @publication = N'MYPUBLICATION', @article = N'tblTaxTransaction', @subscriber = N'all', @destination_db = N'all'
--GO

-- (2)
--use [MYDATABASE]
--exec sp_droparticle @publication = N'MYPUBLICATION', @article = N'tblTaxTransaction', @force_invalidate_snapshot = 1
--GO



--[ @force_invalidate_snapshot = ] force_invalidate_snapshot
--Acknowledges that the action taken by this stored procedure may invalidate an existing snapshot. 
--force_invalidate_snapshot is a bit, with a default of 0.
--0 specifies that changes to the article do not cause the snapshot to be invalid. 
--If the stored procedure detects that the change does require a new snapshot, an error occurs 
--and no changes are made.

--1 specifies that changes to the article may cause the snapshot to be invalid, 
--and if there are existing subscriptions that would require a new snapshot, 
--gives permission for the existing snapshot to be marked as obsolete and a new snapshot generated.



Identity range management issue in SQL server replication

$
0
0

Hello all,

I have a transactional replication with updatable subscription setup with 1 publisher, 1 distributor and 4 subscribers. All are SQL 2008 servers. From last few days I am facing lot of issues with automatic identity range allocations. Somehow SQL server is not allocating new ranges causing the inserts to fail at publishers and subscribers.

Could someone please let me know how to fix automatic identity range management issue and when this issue occurs.

DR Design for Tx Replication

$
0
0

Hello,

I am using SQL 2012 SE and I have transaction replication setup with publisher, subscriber and distributor in one server in an Active Passive cluster environment. 

If publisher goes down then I will have to rely on my full backup+all txlog backups and restart the entire replication.

If subscriber goes down then I will still have to restart the entire replication. The problem is replication is taking between 4 to 6 hours in our scenario and we want to avoid this down time. In the event of publisher/subscriber database goes down what is the best way to have applications/users connected to our database and still perform normal operations without me restoring backups and setting up replication?

Experts need your valuable design thoughts.

Thanks a ton.

Merge Replication issue - Unable to Perform DML operations. pls help

$
0
0
hi all,

we are getting below error msg in our Merge Replication in test environment.

its a simple DML query we used but getting the error -

Msg 207, Level 16, State 1, Procedure MSmerge_upd_21024DDE15DE4737BC61FC280B5A2DAA, Line 118
Invalid column name 'HOST_NAME_FN'.
Msg 4406, Level 16, State 1, Procedure MSmerge_upd_21024DDE15DE4737BC61FC280B5A2DAA, Line 116
Update or insert of view or function 'MSmerge_ppmv_21024DDE15DE4737BC61FC280B5A2DAA' failed because it contains a derived or constant field.

Details:

MSSQL server 2008 R2 with Replication (Push Publication).

we have sa rights, we have same set up in test/production environment .but not sure why we are getting the error.
can someone please help in this?

sp_addscriptexec is not working with FTP Snapshot delivery

$
0
0

Hi,

We have a SQL Server Merge Replication topology. Both Publisher a Subscribers are using SQL Server 2012.

As I have seen in http://msdn.microsoft.com/en-us/library/ms174360(v=sql.120).aspx

"Using sp_addscriptexec to post a script file for publications using FTP for snapshot delivery is only supported for Microsoft SQL Server Subscribers."

So we should be OK...

The problem is that the Merge Agent is looking for the Script in the local PC instead of download it form theFTP Server.

Here is the Code at the publisher:

exec sp_addscriptexec 'IPoint_Pub','C:\IPoint_Files\ReplicationScripts\User\reIndex.sql'

This is how the subscription was created:

use IPoint
exec sp_addmergepullsubscription @publisher = @Central_Server_Name, @publication = N'IPoint_Pub', @publisher_db = @MGR_DB, @subscriber_type = N'Local', @subscription_priority = 0, @description = N'', @sync_type = N'Automatic'

exec sp_addmergepullsubscription_agent
 @publisher = @Central_Server_Name,
 @publisher_db = @MGR_DB,
 @publication = N'IPoint_Pub',
 @distributor = @Central_Server_Name,
 @distributor_security_mode = 0, @distributor_login = 'XXX', @distributor_password = 'XXX',
 @enabled_for_syncmgr = N'True',
 @frequency_type = 4, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 1, @frequency_subday = 4, @frequency_subday_interval = 3, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 20100527, @active_end_date = 99991231,
 @alt_snapshot_folder = N'', @working_directory = N'',
 @use_ftp = N'True',
 @job_login = null, @job_password = null,
 @publisher_security_mode = 0, @publisher_login = 'XXX',  @publisher_password = 'XXX',
 @use_interactive_resolver = N'False', @dynamic_snapshot_location = null, @use_web_sync = 0,
 @hostname =@SUCURSAL_ID
GO

And the log of the REPLMERG.EX

2014-03-29 13:01:49.009 Microsoft SQL Server Merge Agent 11.0.2100.60
2014-03-29 13:01:49.009 Copyright (c) 2008 Microsoft Corporation
2014-03-29 13:01:49.009
2014-03-29 13:01:49.009 The timestamps prepended to the output lines are expressed in terms of UTC time.
2014-03-29 13:01:49.009 User-specified agent parameter values:
			-Publication Netul_Pub
			-Publisher SRV01
			-Subscriber NETUL-01\SQLEXPRESS
			-Distributor SRV01
			-PublisherDB IPoint_Netul
			-SubscriberDB IPoint
			-SubscriptionType 1
			-ParallelUploadDownload 1
			-DistributorLogin sucursal
			-DistributorPassword **********
			-DistributorSecurityMode 0
			-PublisherLogin sucursal
			-PublisherPassword **********
			-PublisherSecurityMode 0
			-SubscriberSecurityMode 1
			-OutputVerboseLevel 1
			-Validate 0
2014-03-29 13:01:49.019 Connecting to Subscriber 'NETUL-01\SQLEXPRESS'
2014-03-29 13:01:50.654 Connecting to Distributor 'SRV01'
2014-03-29 13:01:51.599 Initializing
2014-03-29 13:01:51.604 Validating publisher
2014-03-29 13:01:51.614 Connecting to Publisher 'SRV01'
2014-03-29 13:01:51.769 Retrieving publication information
2014-03-29 13:01:51.774 Retrieving subscription information.
2014-03-29 13:01:52.294 Connecting to Subscriber 'NETUL-01\SQLEXPRESS'
2014-03-29 13:01:52.304 Connecting to Distributor 'SRV01'
2014-03-29 13:01:52.414 Initializing
2014-03-29 13:01:52.429 Validating publisher
2014-03-29 13:01:52.439 Connecting to Publisher 'SRV01'
2014-03-29 13:01:52.604 Retrieving publication information
2014-03-29 13:01:52.619 Retrieving subscription information.
2014-03-29 13:01:53.274 [29%] [0 sec remaining] Snapshot files will be downloaded via ftp
2014-03-29 13:01:53.284 [29%] [0 sec remaining] Snapshot will be applied from a compressed cabinet file
2014-03-29 13:01:53.294 [29%] [0 sec remaining] Connecting to ftp site 'SRV01.real2b.com'
2014-03-29 13:01:55.019 [33%] [2 sec remaining] Extracting snapshot file 'Documento_Formc3f5d2f9_190.sch' from cabinet file
2014-03-29 13:01:55.064 [33%] [2 sec remaining] Extracted file 'Documento_Formc3f5d2f9_190.sch'
2014-03-29 13:01:57.299 [33%] [2 sec remaining] Applied script 'Documento_Formc3f5d2f9_190.sch'
2014-03-29 13:01:57.304 [33%] [2 sec remaining] Preparing table 'Documento_Formulario_Otros' for merge replication
2014-03-29 13:02:02.574 [51%] [8 sec remaining] Extracting snapshot file 'sysmergesubsetfilters_Documento_Formulario_Otros90.bcp' from cabinet file
2014-03-29 13:02:02.594 [51%] [8 sec remaining] Extracted file 'sysmergesubsetfilters_Documento_Formulario_Otros90.bcp'
2014-03-29 13:02:02.604 [55%] [7 sec remaining] Bulk copying data into table 'sysmergesubsetfilters'
2014-03-29 13:02:02.609 [55%] [7 sec remaining] Bulk copied data into table 'sysmergesubsetfilters' (0 rows)
2014-03-29 13:02:02.619 [55%] [7 sec remaining] Extracting snapshot file 'Documento_Formc3f5d2f9_190.dri' from cabinet file
2014-03-29 13:02:02.624 [55%] [7 sec remaining] Extracted file 'Documento_Formc3f5d2f9_190.dri'
2014-03-29 13:02:02.864 [55%] [7 sec remaining] Applied script 'Documento_Formc3f5d2f9_190.dri'
2014-03-29 13:02:02.874 [59%] [6 sec remaining] Extracting snapshot file 'Documento_Formc3f5d2f9_190.trg' from cabinet file
2014-03-29 13:02:02.884 [59%] [6 sec remaining] Extracted file 'Documento_Formc3f5d2f9_190.trg'
2014-03-29 13:02:02.889 [62%] [5 sec remaining] Applied script 'Documento_Formc3f5d2f9_190.trg'
2014-03-29 13:02:02.899 [62%] [5 sec remaining] Extracting snapshot file 'Documento_Formc3f5d2f9_190.prc' from cabinet file
2014-03-29 13:02:02.919 [62%] [5 sec remaining] Extracted file 'Documento_Formc3f5d2f9_190.prc'
2014-03-29 13:02:03.819 [62%] [5 sec remaining] Applied script 'Documento_Formc3f5d2f9_190.prc'
2014-03-29 13:02:09.334 [74%] [5 sec remaining] Launching sqlcmd to apply the script 'Create_Categorias_Tables.sql'
2014-03-29 13:02:09.974 [74%] [5 sec remaining] Applied script 'Create_Categorias_Tables.sql'
2014-03-29 13:02:09.979 [77%] [4 sec remaining] Launching sqlcmd to apply the script 'Create_Categorias_Tables.sql'
2014-03-29 13:02:10.144 [77%] [4 sec remaining] Applied script 'Create_Categorias_Tables.sql'
2014-03-29 13:02:10.174 [81%] [3 sec remaining] Launching sqlcmd to apply the script 'reIndex.sql'
2014-03-29 13:02:10.189 [81%] [3 sec remaining] Last 115 characters in 'sqlcmd' output buffer: Sqlcmd: 'C:\inetpub\ftproot\ReplData\ftp\SRV01_IPOINT_NETUL_NETUL_PUB\UserScripts\reIndex.sql': Invalid filename.

2014-03-29 13:02:10.194 [81%] [3 sec remaining] Failed to apply the script 'reIndex.sql' using the 'sqlcmd' utility.
2014-03-29 13:02:10.204 The schema script 'reIndex.sql' could not be propagated to the subscriber.
2014-03-29 13:02:10.254 Category:NULL
Source:  Merge Replication Provider
Number:  -2147201001
Message: The schema script 'reIndex.sql' could not be propagated to the subscriber.
2014-03-29 13:02:10.259 [100%] The process was successfully stopped.
2014-03-29 13:02:10.299 Category:NULL
Source:  Merge Replication Provider
Number:  -2147200963
Message: The process was successfully stopped.

As you can see, the FTP snapshot is working fine 

"Extracted Documento_Formc3f5d2f9_190.trg"

But the it is looking for a file that only exists in the server.

'C:\inetpub\ftproot\ReplData\ftp\SRV01_IPOINT_NETUL_NETUL_PUB\UserScripts\reIndex.sql'

Do you have any idea?



Best Regards, Daniel.



Does specified lsn should greater than or less than min_autonosync_lsn when setting up a "initialize from lsn" subscription?

$
0
0
Hello,

For setting up a "initialize from lsn" type subscription successfully, Does the lsn for @subscriptionlsn parameter need greater than or less than the  min_autonosync_lsn (syspublications) ?

I read two versions of this: one is lsn >min_autonosync_lsn ,the other is lsn <min_autonosync_lsn. I agree lsn >min_autonosync_lsn.

Thanks

What purpose does a Master Key serve in a replication topology?

$
0
0

Greetings. I'm on SS 2008. 

While recreating transaction replication from backup to one of our subscribers after a catastrophic even, I came across this in our internal documentation:

--To be ran on the subscriber
--Recreate Master Key since DB was moved:
OPEN MASTER KEY DECRYPTION BY PASSWORD = 'myKey'
ALTER MASTER KEY REGENERATE WITH ENCRYPTION BY PASSWORD = 'myKey'
Close Master Key

It worked as expected. I've been doing a lot of testing with encryption/ TDE lately, and am positive this DB doesn't use it. That said, what does this key do/ what purpose does it serve?

The author of the doc has moved on so I can't ask him, but I'd really like to understand the benefit to this if there's no encryption on the DB.

Thanks!


TIA, ChrisRDBA

The process could not read file 'G:\MSSQL11.MSSQLSERVER\MSSQL\ReplData\unc...' MSSQL_REPL, Error number: MSSQL_REPL20203

$
0
0

I am trying to migrate a pull subscription from an existing publication that is in SQL Server 2008 to one that is in SQL Server 2012. I get an error number:MSSQL_REPL, Error number: MSSQL_REPL20203.

I gave the service account that runs MSSQLSERVER full access to the snapshot folder but I'm still having this error.  The user installed SQL Server 2012 Express on his laptop and he is in a group that has access to the publication.

Please advise.


Sql Server 2012 Evaluation - How many connection allowed ?

$
0
0

Hi all

I'm testing the replication, everything Works fine, but I'd like to know how many connections allow the evaluation of the SQL Server versión I'm testing on.

We are testing 2 stores with 2 server in replica with about 20 users in each side. So we can get an idea of the prices of the licences my customer have to buy.

Thank you very much.

James Smiths

Replication taking longer time to apply command on subscriber

$
0
0

I am using transaction replication In my Environment. 
Question: At the time when batches completed from Application team, daily it will take  5  to 10min to apply all commands to replicated database, but from last one weak it is taking 2 to 3 and half hour.
Can anybody suggest what might be the reason and solution ?

Resone I think 
There are more indexes on replicated databae than Production
In Replicated mdf and ldf files are both on same serveranything else ? 


Environment on both servers prod as well as replicated
__________________________

SQL Server 2008 r2 Standard
Windows server 2008r2 enterprise
CPU 64 (Hyper threading Enable)
64 GB Memory

exec sp_replmonitorhelpmergesession: Start merge replication from IDLE mode

$
0
0

Hi Experts,

We have merge replication configured, when i executed the below command on subscriber

exec sp_replmonitorhelpmergesession

i see that status 3 which means (In progress ) and Current Phase column value 4 which means(Idle).

Data is not getting replicated from past 3 days but i see the status is synchronizing. 

Can any one help us on this

Thanks

Khushi

sp_showpendingchanges: How to replicate these pending changes in merge replication

$
0
0

Hi ,

sp_showpendingchanges this command shows how many changes are pending to replicate in merge replication.

is there any way to replicate these changes to manually.

Because i have merge replication which is not replicating the data from past 3 days . and I see the status as replicating.

Any help would be appreciated

Thanks in advance.

Reinitializing only new tables in transactional replication

$
0
0

Hi,

I have to add  one new table to an  existing replication. I created  table and added that table to the replication as well.Now I want to reinitialize only the new table rather than all the tables. Please anybody help

Re-adding article to subscription fails with Column name or number of supplied values does not match table definition when applying new snapshot

$
0
0

We have had a table in a push transactional replication publication that needed to be removed from the publication, have the PK column altered and another column dropped, and the re-added back to the publication.

The publisher is running SQL Server 2008 R2 SP2 CU8 (10.50.4290).  The subscriber is running SQL Server 2012 SP2 (11.0.5058).  The publication was created initially in SQL Sever 2008 R2 (10.50.1600).

The code to remove the article (run on the publisher) is below:-

EXEC sys.sp_dropsubscription 
@publication = 'Order_Manager_Full'
, @subscriber = 'MHRS-002'
, @destination_db = 'Replicated_Order_Manager'
, @article = 'Return_Request'

EXEC sys.sp_droparticle 
    @publication = 'Order_Manager_Full'
,   @article = 'Return_Request'

After the changes were propogated, the following was run in order to re-add the table to the publication:-

EXEC sys.sp_addarticle 
    @publication = 'Order_Manager_Full'
,   @article = 'Return_Request'
,   @source_object = 'Return_Request'
,    @source_owner = 'dbo'
,    @schema_option =0x00000004080352DB

EXEC sys.sp_addsubscription 
@publication = 'Order_Manger_Full'
, @subscriber = 'MHRS-002'
, @destination_db = 'Replicated_Order_Manager'
, @article = 'all'

After this, the snapshot agent was run, which produced the snapshot; however, when this was then applied on the subscriber, it fails with "Column name or number of supplied values does not match table definition".  Notably, the table and objects do not appear to be created on the subscriber during the operation; I have a trigger running on DDL statements and the only command trapped is DROP TABLE.  I've also tested the schema script, which runs without problem on its own.

I've created a new publication pointing to the same database, and added the article, and the same behaviour occurs; however, if creating a new database and publication, this works fine and I can drop and add the article without issue.

I'm wondering if this is an issue between the patch levels of the publisher, as the initial publication was created on R2, and we're now running R2 SP2 CU8?  The other thing of note that I can see, is that the article is left in the dbo.MSreplication_objects table, despite having been dropped.

Any ideas how I can resolve this issue?

Cheers

Matthew

Binding Error when creating a new publication

$
0
0

Hi i am fairly new to replication.

My situation is that I dropped replication using the script that was generated from the publication.

When I go through the publication wizard I get a error message on the first page

'New publication Wizard encountered one or more errors while retrieving the list of databases on "my computer"

Invaliud object name 'Tracker_Repl.dbo.MSreplication_Subscriptions'

Could not use view or function 'dbo.MSreplication_Subscriptions'becasue of binding errors.

I can not find this subscription and there is nothing in the system file tables.

When you expand the Local subscriptions I get the same error message.

How do I go about fixing this?

Regards


Replication

$
0
0
what happen if i disable log reader agent in replication and took log backup of publisher database

Creating Replication From Bakcup

$
0
0

I am rebuilting Replication from backup so taht i have performed follwing steps
create publication
add article 
desable log reader -
backup- pub DB
restore bak
online  make siple mode (increase size of data file )
drop trigger  -- 
check not for replication  column 
add subscription
create index on subscriber  (it tood 6 hour)
check not for replication column
enable log reader

First it run fine but latter it gives an erro as rwo was not found at subscrip when applying replicated command

remove replication for only single database.

$
0
0

Hi All,

I need to remove replication for a single database (Remove replication on ABC database from SQL1 to SQL5.)

I did some research and found as follows:

DECLARE @subscriptionDB AS sysname SET @subscriptionDB = N'AdventureWorks2008R2Replica'

USE master EXEC sp_removedbreplication @subscriptionDB, will this help my requirement.

GO

Please help me in getting script to remove replication of particular database from server A to serverB.

Thanks in advance.

How to Drop and Create funtion

$
0
0

 Hi

    I replicate the database with my production  and Report Server environment, I change some funtions  in devlopment and try to drop and recreate the funtion in production  ,It showsCannot drop the function 'XXXX' because it is being used for replication.
Msg 2714, Level 16, State 3,
  How to drop this funtion? do i need to change any settings? I need to drop and create this funtion? how to achive it?


Thanks & Regards Manoj

Merge Replication Issue

$
0
0

We have a two sql publisher servers, configured for merge replication and each publication have 5 - 10 subscriptions, the replication was running fine, but suddenly it started giving the below error on two servers, but the error message is same for all the failures on the two different servers,

Error messages:
The merge process was unable to change generation history at the 'Subscriber'. When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147200995)
Get help: http://help/MSSQL_REPL-2147200995
TCP Provider: The semaphore timeout period has expired. (Source: MSSQLServer, Error number: 121)
Get help: http://help/121
Communication link failure (Source: MSSQLServer, Error number: 121)
Get help: http://help/121

I enabled merge agent for logging to output file with -OutputVerboseLevel 4 and also with -OutputVerboseLevel 3, both generated a similar log and gave me the same error message as above what we collected from the replication monitor.

2014-10-16 13:45:10.975 Microsoft SQL Server Merge Agent 11.0.5058.0
2014-10-16 13:45:11.006 Copyright (c) 2008 Microsoft Corporation
2014-10-16 13:45:11.019 
2014-10-16 13:45:11.026 The timestamps prepended to the output lines are expressed in terms of UTC time.
2014-10-16 13:45:11.031 User-specified agent parameter values:
-Publisher SVRGBBRYSQL01
-PublisherDB CommonDatabase
-Publication CommonDatabase_IS_AS
-Subscriber ASNDAMRKT01
-SubscriberDB CommonDatabase
-Distributor SVRGBBRYSQL01
-DistributorSecurityMode 1
-Output C:\ReplOutput1.txt
-OutputVerboseLevel 4
-QueryTimeOut 3600
-DownloadGenerationsPerBatch 2000
-UploadGenerationsPerBatch 2000
2014-10-16 13:45:11.091 Percent Complete: 0
2014-10-16 13:45:11.095 Connecting to Distributor 'SVRGBBRYSQL01'
2014-10-16 13:45:11.099 Repl Agent Status: 3
2014-10-16 13:45:11.104 Connecting to OLE DB Distributor at datasource: 'SVRGBBRYSQL01', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI11'
2014-10-16 13:45:11.160 OLE DB Distributor: SVRGBBRYSQL01
DBMS: Microsoft SQL Server
Version: 11.00.5058
catalog name: 
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len: 
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2014-10-16 13:45:11.177 OLE DB Distributor 'SVRGBBRYSQL01': select SERVERPROPERTY ('ProductVersion') 
2014-10-16 13:45:11.186 OLE DB Distributor 'SVRGBBRYSQL01': {call sp_helpdistpublisher (N'SVRGBBRYSQL01') }
2014-10-16 13:45:11.209 OLE DB Distributor 'SVRGBBRYSQL01': {call sp_MShelp_repl_agent (N'SVRGBBRYSQL01', N'CommonDatabase', N'CommonDatabase_IS_AS', N'ASNDAMRKT01', N'CommonDatabase', 1)}
2014-10-16 13:45:11.218 OLE DB Distributor 'SVRGBBRYSQL01': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'SVRGBBRYSQL01')
2014-10-16 13:45:11.234 OLE DB Distributor 'SVRGBBRYSQL01': {call sp_MShelp_merge_agentid (0,N'CommonDatabase',N'CommonDatabase_IS_AS',null,N'CommonDatabase',90,N'ASNDAMRKT01')}
2014-10-16 13:45:11.241 OLE DB Distributor 'SVRGBBRYSQL01': {call sp_MShelp_profile (74, 4, N'')}
2014-10-16 13:45:11.247 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_get_redirected_publisher(N'SVRGBBRYSQL01',N'CommonDatabase',0)}
2014-10-16 13:45:11.253 Percent Complete: 0
2014-10-16 13:45:11.254 Connecting to OLE DB Publisher at datasource: 'SVRGBBRYSQL01', location: '', catalog: 'CommonDatabase', providerstring: '' using provider 'SQLNCLI11'
2014-10-16 13:45:11.257 Initializing
2014-10-16 13:45:11.266 Repl Agent Status: 1
2014-10-16 13:45:11.272 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:11.273 OLE DB Publisher: SVRGBBRYSQL01
DBMS: Microsoft SQL Server
Version: 11.00.5058
catalog name: CommonDatabase
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len: 
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2014-10-16 13:45:11.282 Percent Complete: 0
2014-10-16 13:45:11.283 OLE DB Publisher 'SVRGBBRYSQL01': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation, N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
2014-10-16 13:45:11.288 Validating publisher
2014-10-16 13:45:11.299 OLE DB Publisher 'SVRGBBRYSQL01': select SERVERPROPERTY ('ProductVersion') 
2014-10-16 13:45:11.303 Repl Agent Status: 1
2014-10-16 13:45:11.310 Connecting to OLE DB Publisher at datasource: 'SVRGBBRYSQL01', location: '', catalog: 'CommonDatabase', providerstring: '' using provider 'SQLNCLI11'
2014-10-16 13:45:11.314 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:11.329 OLE DB Publisher: SVRGBBRYSQL01
DBMS: Microsoft SQL Server
Version: 11.00.5058
catalog name: CommonDatabase
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len: 
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2014-10-16 13:45:11.332 Percent Complete: 0
2014-10-16 13:45:11.340 Connecting to Publisher 'SVRGBBRYSQL01'
2014-10-16 13:45:11.343 Repl Agent Status: 3
2014-10-16 13:45:11.347 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:11.351 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSchecksnapshotstatus (N'CommonDatabase_IS_AS')}
2014-10-16 13:45:11.358 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_helpmergepublication (N'CommonDatabase_IS_AS')}
2014-10-16 13:45:11.370 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
2014-10-16 13:45:11.377 OLE DB Distributor 'SVRGBBRYSQL01': {call sp_MShelp_repl_agent (N'SVRGBBRYSQL01', N'CommonDatabase', N'CommonDatabase_IS_AS', N'ASNDAMRKT01', N'CommonDatabase', 1)}
2014-10-16 13:45:11.385 Connecting to OLE DB Subscriber at datasource: 'ASNDAMRKT01', location: '', catalog: 'CommonDatabase', providerstring: '' using provider 'SQLNCLI11'
2014-10-16 13:45:11.627 OLE DB Subscriber: ASNDAMRKT01
DBMS: Microsoft SQL Server
Version: 10.00.5520
catalog name: CommonDatabase
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len: 
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2014-10-16 13:45:11.817 OLE DB Subscriber 'ASNDAMRKT01': select SERVERPROPERTY ('ProductVersion') 
2014-10-16 13:45:11.854 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSreplcheck_subscribe}
2014-10-16 13:45:11.916 OLE DB Subscriber 'ASNDAMRKT01': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation, N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
2014-10-16 13:45:11.993 Percent Complete: 0
2014-10-16 13:45:11.993 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:12.002 Connecting to Subscriber 'ASNDAMRKT01'
2014-10-16 13:45:12.022 Repl Agent Status: 3
2014-10-16 13:45:12.026 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:12.049 Percent Complete: 0
2014-10-16 13:45:12.050 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:12.054 Retrieving publication information
2014-10-16 13:45:12.063 Repl Agent Status: 3
2014-10-16 13:45:12.067 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:12.104 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSmerge_upgrade_subscriber(1,?)}
2014-10-16 13:45:12.105 Percent Complete: 0
2014-10-16 13:45:12.113 Retrieving subscription information.
2014-10-16 13:45:12.117 Repl Agent Status: 3
2014-10-16 13:45:12.121 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:12.445 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
2014-10-16 13:45:12.457 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
2014-10-16 13:45:12.507 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MShelpmergearticles (?,10000000,?) }
2014-10-16 13:45:13.023 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSenumschemachange (?,?,10000000,?,0,1) }
2014-10-16 13:45:13.044 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.107 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSsetreplicainfo (?,?,?,?,?,?,?,?,?,?,90,?,?,1)}
2014-10-16 13:45:13.130 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSmergeupdatelastsyncinfo (?,?,?)}
2014-10-16 13:45:13.184 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSenumreplicas90 }
2014-10-16 13:45:13.294 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSenumreplicas90 }
2014-10-16 13:45:13.322 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.364 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.410 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.421 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.433 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.445 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2014-10-16 13:45:13.455 OLE DB Subscriber 'ASNDAMRKT01': {call sp_helpmergealternatepublisher(N'SVRGBBRYSQL01', N'CommonDatabase', N'CommonDatabase_IS_AS')}
2014-10-16 13:45:13.495 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_helpmergealternatepublisher(N'SVRGBBRYSQL01', N'CommonDatabase', N'CommonDatabase_IS_AS')}
2014-10-16 13:45:13.511 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSenum_metadataaction_requests(?,?,?,?)}
2014-10-16 13:45:13.561 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSgetlastsentrecgens (?)}
2014-10-16 13:45:13.599 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetlastsentrecgens (?)}
2014-10-16 13:45:13.605 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:13.662 Percent Complete: 0
2014-10-16 13:45:13.662 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:13.668 Uploading data changes to the Publisher
2014-10-16 13:45:13.679 Repl Agent Status: 3
2014-10-16 13:45:13.688 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:13.711 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSmakegeneration (?, NULL,NULL,NULL,100)}
2014-10-16 13:45:14.209 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSreleasemakegenerationapplock}
2014-10-16 13:45:14.269 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSenumgenerations90 (5201223,?,0,?,?,?) }
2014-10-16 13:45:14.318 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MScheckexistsgeneration (?, ?) }
2014-10-16 13:45:14.325 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSsetlastsentgen (?, ?, ?)}
2014-10-16 13:45:14.384 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSsetlastrecgen (?, ?, ?)}
2014-10-16 13:45:14.403 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:14.475 Percent Complete: 0
2014-10-16 13:45:14.475 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:14.484 No data needed to be merged.
2014-10-16 13:45:14.497 Repl Agent Status: 3
2014-10-16 13:45:14.503 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:14.530 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSgetreplicastate (?,?,?)}
2014-10-16 13:45:14.538 Percent Complete: 0
2014-10-16 13:45:14.547 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSgetreplicastate (?,?,?)}
2014-10-16 13:45:14.554 Downloading data changes to the Subscriber
2014-10-16 13:45:14.580 Repl Agent Status: 3
2014-10-16 13:45:14.591 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:45:14.595 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSgetalternaterecgens (?)}
2014-10-16 13:45:14.612 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_is_makegeneration_needed(?, ?)}
2014-10-16 13:45:14.627 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:19.637 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:24.644 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:29.650 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:34.666 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:39.678 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:44.692 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSgetmakegenerationapplock_90(?,?)}
2014-10-16 13:45:44.697 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSreleasemakegenerationapplock}
2014-10-16 13:45:44.703 OLE DB Publisher 'SVRGBBRYSQL01': {call sys.sp_MSenumgenerations90 (8489377,?,0,?,?,?) }
2014-10-16 13:45:44.740 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScheckexistsgeneration (?, ?) }{call sp_MScThe merge process was unable to verify the existence of a generation at the 'Subscriber'. If this failure persists, reinitialize the subscription.
2014-10-16 13:46:03.866 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:46:07.192 Percent Complete: 0
2014-10-16 13:46:07.192 OLE DB Subscriber 'ASNDAMRKT01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:46:07.197 No data needed to be merged.
2014-10-16 13:46:07.208 Repl Agent Status: 3
2014-10-16 13:46:07.213 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:46:07.440 Percent Complete: 0
2014-10-16 13:46:07.444 The merge process was unable to verify the existence of a generation at the 'Subscriber'. If this failure persists, reinitialize the subscription.
2014-10-16 13:46:07.449 Repl Agent Status: 6
2014-10-16 13:46:07.454 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:46:07.500 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSmergeupdatelastsyncinfo (?,?,?)}
2014-10-16 13:46:07.506 The Merge Agent was unable to update information about the last synchronization at the Subscriber. Ensure that the subscription exists at the Subscriber, and restart the Merge Agent. 
2014-10-16 13:46:07.768 Percent Complete: 0
2014-10-16 13:46:07.774 Category:NULL
Source:  Merge Replication Provider
Number:  -2147201003
Message: The merge process was unable to verify the existence of a generation at the 'Subscriber'. If this failure persists, reinitialize the subscription.
2014-10-16 13:46:07.779 Repl Agent Status: 3
2014-10-16 13:46:08.025 Percent Complete: 0
2014-10-16 13:46:08.030 Category:SQLSERVER
Source:  ASNDAMRKT01
Number:  121
Message: TCP Provider: The semaphore timeout period has expired.
2014-10-16 13:46:08.036 Repl Agent Status: 3
2014-10-16 13:46:08.956 Percent Complete: 0
2014-10-16 13:46:08.961 Category:SQLSERVER
Source:  ASNDAMRKT01
Number:  121
Message: Communication link failure
2014-10-16 13:46:08.965 Repl Agent Status: 3
**************************************************************
CONNECTION TIMES

Publisher (all connections)109 msec
Subscriber (all connections)562 msec
Distributor63 msec
**************************************************************
UPLOAD COUNTERS 


MakeGeneration Time = 608 msec.
InsertGenHistory Time = 0 msec.
UpdateGenHistory Time = 0 msec.
ProxiedMetadata Time = 0 msec.
**************************************************************
DOWNLOAD COUNTERS 


MakeGeneration Time = 30077 msec.
InsertGenHistory Time = 19126 msec.
UpdateGenHistory Time = 0 msec.
**************************************************************
RETENTION-BASED CLEANUP STATISTICS


Publisher:

Cleanup Time0 msec
MSmerge_genhistory rows cleaned up0
MSmerge_contents rows cleaned up0
MSmerge_tombstone rows cleaned up0

Subscriber:

Cleanup Time0 msec
MSmerge_genhistory rows cleaned up0
MSmerge_contents rows cleaned up0
MSmerge_rowtrack rows cleaned up0
MSmerge_tombstone rows cleaned up0
**************************************************************
RETRY STATISTICS

Retry Time (Upload)0 msec.
Retry Time (Download)0 msec.
Total changes retried0
Number of Iterations through rows needing retry 0
Total number of changes that failed despite retry 0
**************************************************************
PROXY METADATA QUEUE COUNTERS

Queue Full:

Number of Waits: 0, Total Wait Time: 0 msec
**************************************************************

Distributor-side History Logging Time = 514 msec.
Number of Distributor-side History Messages Logged = 11
Subscriber-side History Logging Time = 3870 msec.
Number of Subscriber-side History Messages Logged = 11
**************************************************************
2014-10-16 13:46:08.985 OLE DB Publisher 'SVRGBBRYSQL01':  DBCC SQLPERF (NETSTATS) 
2014-10-16 13:46:08.991 OLE DB Subscriber 'ASNDAMRKT01':  DBCC SQLPERF (NETSTATS) 
2014-10-16 13:46:09.811 Connecting to OLE DB Subscriber at datasource: 'ASNDAMRKT01', location: '', catalog: 'CommonDatabase', providerstring: '' using provider 'SQLNCLI11'
2014-10-16 13:46:10.375 OLE DB Subscriber 'ASNDAMRKT01':  DBCC SQLPERF (NETSTATS) 
2014-10-16 13:46:10.604 OLE DB Distributor 'SVRGBBRYSQL01':  DBCC SQLPERF (NETSTATS) 
NETWORK STATISTICS

ServerReads WritesBytes ReadBytes Written

Publisher4369488112913778118830
Subscriber521517425359119505410
Distributor4540505613401028301202
**************************************************************
NETWORK STATUS

Network Connection:
The computer has one or more LAN cards that are active.

Network link speed:
DestinationIncomingOutgoing

PublisherUnreachableUnreachable
SubscriberUnreachableUnreachable
DistributorUnreachableUnreachable
**************************************************************
Duration of synchronization session: 59 sec
2014-10-16 13:46:10.633 OLE DB Subscriber 'ASNDAMRKT01': {call sp_MSmergeupdatelastsyncinfo (?,?,?)}
2014-10-16 13:46:10.633 [100%] Percent Complete: 100
2014-10-16 13:46:10.647 Thread id 7948 is attempting to re-establish the connection to Subscriber 'ASNDAMRKT01'.
2014-10-16 13:46:10.653 Repl Agent Status: 3
2014-10-16 13:46:10.661 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:46:10.671 [100%] Percent Complete: 100
2014-10-16 13:46:10.678 Thread id 7948 successfully re-established connection to Subscriber 'ASNDAMRKT01'.
2014-10-16 13:46:10.684 Repl Agent Status: 3
2014-10-16 13:46:10.688 OLE DB Distributor 'SVRGBBRYSQL01': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2014-10-16 13:46:10.704 OLE DB Publisher 'SVRGBBRYSQL01': {call sp_MSmergeupdatelastsyncinfo (?,?,?)}
2014-10-16 13:46:10.713 Disconnecting from OLE DB Publisher 'SVRGBBRYSQL01'
2014-10-16 13:46:10.719 Disconnecting from OLE DB Publisher 'SVRGBBRYSQL01'
2014-10-16 13:46:10.724 Disconnecting from OLE DB Subscriber 'ASNDAMRKT01'
2014-10-16 13:46:10.730 Disconnecting from OLE DB Subscriber 'ASNDAMRKT01'
2014-10-16 13:46:10.735 Disconnecting from OLE DB Publisher 'SVRGBBRYSQL01'
2014-10-16 13:46:10.744 Disconnecting from OLE DB Publisher 'SVRGBBRYSQL01'
2014-10-16 13:46:10.750 Disconnecting from OLE DB Distributor 'SVRGBBRYSQL01'
2014-10-16 13:46:10.771 Disconnecting from OLE DB Distributor 'SVRGBBRYSQL01'
2014-10-16 13:46:10.776 The merge process will restart after waiting 30 second(s)...
Percent Complete: 0


I looked for lines with genstatus 3 and 4 in the table Msmerge_genhistory on both publisher and subscriber  and didn't get any records. Also tried tweaking -DownloadGenerationsPerBatch and -UploadGenerationsPerBatch with higher and lower values but of no use.


Suresh Babu


Viewing all 4054 articles
Browse latest View live




Latest Images