I am setting merge replication over untrusted domains. Thesnapshot agent succeeded and the the merge agent as well when first create the subscription.
It seems everything is going well, the subscription table now look the same as the published table and even if it had differences in the data before. But the problem comes when updated and record and the merge agent tries to synchronize.
Kindly see the error below ,
The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201016)
Could not find stored procedure 'dbo.MSmerge_sel_sp_C60458B6A7FA43462DB27C5C9D7B4F8A'. (Source: MSSQLServer, Error number: 2812)
1) I tried to re-initialize the subscriber
2) I tried to run the snapshot agent again but same thing happens as I described above.
3) I tried to set the agent profile of the Merge agent to Slow link agent profile.
4) I didn't change anything on the table after setting the replication.
5) I'm not using filters
6) I logged the Error of the Merge agent you can see the output below.
2013-03-12 18:22:34.731 Copyright (c) 2008 Microsoft Corporation
2013-03-12 18:22:34.731 Microsoft SQL Server Replication Agent: replmerg
2013-03-12 18:22:34.731
2013-03-12 18:22:34.731 The timestamps prepended to the output lines are expressed in terms of UTC time.
2013-03-12 18:22:34.731 User-specified agent parameter values:
-Publisher xxxxxxxxxxx
-PublisherDB PubDB
-Publication Pub
-Subscriber yyyyyyyyyyyyyyy
-SubscriberDB SubDB
-Distributor xxxxxxxxxxx
-DistributorSecurityMode 1
-Output c:\temp\MergeAgent.out
-XJOBID 0x2E51A08BFA488F498E56F300BF90C3C3
-XJOBNAME xxxxxxxxxxx-PubDB-Pub-yyyyyyyyyyyyyyy-1
-XSTEPID 2
-XSUBSYSTEM Merge
-XSERVER xxxxxxxxxxx
-XCMDLINE 0
-XCancelEventHandle 0000000000000970
-XParentProcessHandle 000000000000095C
2013-03-12 18:22:34.731 Percent Complete: 0
2013-03-12 18:22:34.731 Connecting to Distributor 'xxxxxxxxxxx'
2013-03-12 18:22:34.731 Connecting to OLE DB Distributor at datasource: 'xxxxxxxxxxx', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:34.763 OLE DB Distributor: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
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
2013-03-12 18:22:34.763 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MSgetversion }
2013-03-12 18:22:34.763 OLE DB Distributor 'xxxxxxxxxxx': {call sp_helpdistpublisher (N'xxxxxxxxxxx') }
2013-03-12 18:22:34.763 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_repl_agent (N'xxxxxxxxxxx', N'PubDB', N'Pub', N'yyyyyyyyyyyyyyy', N'SubDB', 1)}
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'xxxxxxxxxxx')
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_merge_agentid (0,N'PubDB',N'Pub',null,N'SubDB',90,N'yyyyyyyyyyyyyyy')}
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_profile (1, 4, N'')}
2013-03-12 18:22:34.778 Percent Complete: 0
2013-03-12 18:22:34.778 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:34.778 Initializing
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:34.778 Percent Complete: 0
2013-03-12 18:22:34.778 Connecting to Publisher 'xxxxxxxxxxx'
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:34.778 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:34.778 OLE DB Publisher 'xxxxxxxxxxx': 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
2013-03-12 18:22:34.778 OLE DB Publisher 'xxxxxxxxxxx': {call sp_MSgetversion }
2013-03-12 18:22:34.794 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:34.794 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:34.794 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_repl_agent (N'xxxxxxxxxxx', N'PubDB', N'Pub', N'yyyyyyyyyyyyyyy', N'SubDB', 1)}
2013-03-12 18:22:34.794 Connecting to OLE DB Subscriber at datasource: 'yyyyyyyyyyyyyyy', location: '', catalog: 'SubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:35.075 OLE DB Subscriber: yyyyyyyyyyyyyyy
DBMS: Microsoft SQL Server
Version: 10.50.2550
catalog name: SubDB
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
2013-03-12 18:22:35.262 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sp_MSgetversion }
2013-03-12 18:22:35.355 OLE DB Subscriber 'yyyyyyyyyyyyyyy': 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
2013-03-12 18:22:35.433 Percent Complete: 0
2013-03-12 18:22:35.433 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.433 Connecting to Subscriber 'yyyyyyyyyyyyyyy'
2013-03-12 18:22:35.433 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.496 Percent Complete: 0
2013-03-12 18:22:35.496 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.496 Retrieving publication information
2013-03-12 18:22:35.496 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.543 Percent Complete: 0
2013-03-12 18:22:35.543 Retrieving subscription information.
2013-03-12 18:22:35.543 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.104 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.167 Percent Complete: 0
2013-03-12 18:22:36.167 Uploading data changes to the Publisher
2013-03-12 18:22:36.167 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.401 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.479 Percent Complete: 0
2013-03-12 18:22:36.479 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.479 No data needed to be merged.
2013-03-12 18:22:36.479 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.525 Percent Complete: 0
2013-03-12 18:22:36.525 Downloading data changes to the Subscriber
2013-03-12 18:22:36.541 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.697 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:36.713 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:36.713 Connecting to OLE DB Subscriber at datasource: 'yyyyyyyyyyyyyyy', location: '', catalog: 'SubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:36.947 OLE DB Subscriber: yyyyyyyyyyyyyyy
DBMS: Microsoft SQL Server
Version: 10.50.2550
catalog name: SubDB
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
2013-03-12 18:22:37.134 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:37.134 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:37.134 Connecting to OLE DB Subscriber at datasource: 'yyyyyyyyyyyyyyy', location: '', catalog: 'SubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:37.368 OLE DB Subscriber: yyyyyyyyyyyyyyy
DBMS: Microsoft SQL Server
Version: 10.50.2550
catalog name: SubDB
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
2013-03-12 18:22:37.555 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.617 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.617 Percent Complete: 0
2013-03-12 18:22:37.617 Enumerating deletes in all articles
2013-03-12 18:22:37.617 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.680 Percent Complete: 0
2013-03-12 18:22:37.680 Enumerating inserts and updates in article 'Age'
2013-03-12 18:22:37.680 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.727 The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.727 The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.727 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.805 Percent Complete: 0
2013-03-12 18:22:37.805 No data needed to be merged.
2013-03-12 18:22:37.805 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.805 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.867 Percent Complete: 0
2013-03-12 18:22:37.867 The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.867 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.883 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.
2013-03-12 18:22:37.883 Percent Complete: 0
2013-03-12 18:22:37.883 Category:NULL
Source: Merge Replication Provider
Number: -2147201016
Message: The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.883 Percent Complete: 0
2013-03-12 18:22:37.883 Category:SQLSERVER
Source: yyyyyyyyyyyyyyy
Number: 2812
2013-03-12 18:22:34.731 Microsoft SQL Server Merge Agent 10.50.1600.1
2013-03-12 18:22:34.731 Copyright (c) 2008 Microsoft Corporation
2013-03-12 18:22:34.731 Microsoft SQL Server Replication Agent: replmerg
2013-03-12 18:22:34.731
2013-03-12 18:22:34.731 The timestamps prepended to the output lines are expressed in terms of UTC time.
2013-03-12 18:22:34.731 User-specified agent parameter values:
-Publisher xxxxxxxxxxx
-PublisherDB PubDB
-Publication Pub
-Subscriber yyyyyyyyyyyyyyy
-SubscriberDB SubDB
-Distributor xxxxxxxxxxx
-DistributorSecurityMode 1
-Output c:\temp\MergeAgent.out
-XJOBID 0x2E51A08BFA488F498E56F300BF90C3C3
-XJOBNAME xxxxxxxxxxx-PubDB-Pub-yyyyyyyyyyyyyyy-1
-XSTEPID 2
-XSUBSYSTEM Merge
-XSERVER xxxxxxxxxxx
-XCMDLINE 0
-XCancelEventHandle 0000000000000970
-XParentProcessHandle 000000000000095C
2013-03-12 18:22:34.731 Percent Complete: 0
2013-03-12 18:22:34.731 Connecting to Distributor 'xxxxxxxxxxx'
2013-03-12 18:22:34.731 Connecting to OLE DB Distributor at datasource: 'xxxxxxxxxxx', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:34.763 OLE DB Distributor: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
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
2013-03-12 18:22:34.763 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MSgetversion }
2013-03-12 18:22:34.763 OLE DB Distributor 'xxxxxxxxxxx': {call sp_helpdistpublisher (N'xxxxxxxxxxx') }
2013-03-12 18:22:34.763 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_repl_agent (N'xxxxxxxxxxx', N'PubDB', N'Pub', N'yyyyyyyyyyyyyyy', N'SubDB', 1)}
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'xxxxxxxxxxx')
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_merge_agentid (0,N'PubDB',N'Pub',null,N'SubDB',90,N'yyyyyyyyyyyyyyy')}
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_profile (1, 4, N'')}
2013-03-12 18:22:34.778 Percent Complete: 0
2013-03-12 18:22:34.778 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:34.778 Initializing
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:34.778 Percent Complete: 0
2013-03-12 18:22:34.778 Connecting to Publisher 'xxxxxxxxxxx'
2013-03-12 18:22:34.778 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:34.778 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:34.778 OLE DB Publisher 'xxxxxxxxxxx': 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
2013-03-12 18:22:34.778 OLE DB Publisher 'xxxxxxxxxxx': {call sp_MSgetversion }
2013-03-12 18:22:34.794 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:34.794 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:34.794 OLE DB Distributor 'xxxxxxxxxxx': {call sp_MShelp_repl_agent (N'xxxxxxxxxxx', N'PubDB', N'Pub', N'yyyyyyyyyyyyyyy', N'SubDB', 1)}
2013-03-12 18:22:34.794 Connecting to OLE DB Subscriber at datasource: 'yyyyyyyyyyyyyyy', location: '', catalog: 'SubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:35.075 OLE DB Subscriber: yyyyyyyyyyyyyyy
DBMS: Microsoft SQL Server
Version: 10.50.2550
catalog name: SubDB
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
2013-03-12 18:22:35.262 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sp_MSgetversion }
2013-03-12 18:22:35.355 OLE DB Subscriber 'yyyyyyyyyyyyyyy': 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
2013-03-12 18:22:35.433 Percent Complete: 0
2013-03-12 18:22:35.433 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.433 Connecting to Subscriber 'yyyyyyyyyyyyyyy'
2013-03-12 18:22:35.433 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.496 Percent Complete: 0
2013-03-12 18:22:35.496 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.496 Retrieving publication information
2013-03-12 18:22:35.496 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:35.543 Percent Complete: 0
2013-03-12 18:22:35.543 Retrieving subscription information.
2013-03-12 18:22:35.543 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.104 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.167 Percent Complete: 0
2013-03-12 18:22:36.167 Uploading data changes to the Publisher
2013-03-12 18:22:36.167 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.401 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.479 Percent Complete: 0
2013-03-12 18:22:36.479 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.479 No data needed to be merged.
2013-03-12 18:22:36.479 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.525 Percent Complete: 0
2013-03-12 18:22:36.525 Downloading data changes to the Subscriber
2013-03-12 18:22:36.541 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:36.697 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:36.713 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:36.713 Connecting to OLE DB Subscriber at datasource: 'yyyyyyyyyyyyyyy', location: '', catalog: 'SubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:36.947 OLE DB Subscriber: yyyyyyyyyyyyyyy
DBMS: Microsoft SQL Server
Version: 10.50.2550
catalog name: SubDB
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
2013-03-12 18:22:37.134 Connecting to OLE DB Publisher at datasource: 'xxxxxxxxxxx', location: '', catalog: 'PubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:37.134 OLE DB Publisher: xxxxxxxxxxx
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: PubDB
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
2013-03-12 18:22:37.134 Connecting to OLE DB Subscriber at datasource: 'yyyyyyyyyyyyyyy', location: '', catalog: 'SubDB', providerstring: '' using provider 'SQLNCLI10'
2013-03-12 18:22:37.368 OLE DB Subscriber: yyyyyyyyyyyyyyy
DBMS: Microsoft SQL Server
Version: 10.50.2550
catalog name: SubDB
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
2013-03-12 18:22:37.555 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.617 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.617 Percent Complete: 0
2013-03-12 18:22:37.617 Enumerating deletes in all articles
2013-03-12 18:22:37.617 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.680 Percent Complete: 0
2013-03-12 18:22:37.680 Enumerating inserts and updates in article 'Age'
2013-03-12 18:22:37.680 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.727 The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.727 The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.727 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.805 Percent Complete: 0
2013-03-12 18:22:37.805 No data needed to be merged.
2013-03-12 18:22:37.805 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.805 OLE DB Subscriber 'yyyyyyyyyyyyyyy': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.867 Percent Complete: 0
2013-03-12 18:22:37.867 The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.867 OLE DB Distributor 'xxxxxxxxxxx': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2013-03-12 18:22:37.883 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.
2013-03-12 18:22:37.883 Percent Complete: 0
2013-03-12 18:22:37.883 Category:NULL
Source: Merge Replication Provider
Number: -2147201016
Message: The merge process could not retrieve column information for table 'dbo.Age'. Verify that you have sufficient privileges on the database and retry the operation.
2013-03-12 18:22:37.883 Percent Complete: 0
2013-03-12 18:22:37.883 Category:SQLSERVER
Source: yyyyyyyyyyyyyyy
Number: 2812
Message: Could not find stored procedure 'dbo.MSmerge_sel_sp_C60458B6A7FA43462DB27C5C9D7B4F8A'.
2013-03-12 18:22:37.883 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.
2013-03-12 18:22:37.883 The merge process was unable to update last synchronization information at the Publisher.