Error inserting into MSreplication_subscriptions table
- From: paul zimmerman <zekez23@xxxxxxxxx>
- Date: Thu, 06 Nov 2008 10:13:30 -0800
Hi,
I have created a pull subscription on sql server 2000. When I tried to
start the synchronization process I encountered a failure in the
distribution agent: ?Agent message code 20046. String data, right
truncation?.
I then attempted to insert a row into the MSreplication_subscriptions
table (using QA) and received a data conversion error (from varchar to
varbinary). Can I modify the sp(which I haven?t identified) that
updates this table converting/casting to the varbinary
transaction_timestamp column ? Thanks in advance.
What follows is the log file using the ?output command on the ?run
agent step? for the distribution job):
Microsoft SQL Server Distribution Agent 8.00.2039
Copyright (c) 2000 Microsoft Corporation
Microsoft SQL Server Replication Agent:
IN-REGGIEDBP01.IN.-ReggieProd-ReggieProd-JUPITER-Reggie4Replicated-3AD6E
052-8865-4CAA-9C41-15173148B647
Startup Delay: 6696 (msecs)
Connecting to Subscriber 'JUPITER'
Connecting to Subscriber 'JUPITER.Reggie4Replicated'
Server: JUPITER
DBMS: Microsoft SQL Server
Version: 08.00.2039
user name: dbo
API conformance: 2
SQL conformance: 1
transaction capable: 2
read only: N
identifier quote char: "
non_nullable_columns: 1
owner usage: 31
max table name len: 128
max column name len: 128
need long data len: Y
max columns in table: 1024
max columns in index: 16
max char literal len: 524288
max statement len: 524288
max row size: 524288
[11/6/2008 12:35:07 AM]JUPITER.Reggie4Replicated: {?=call
sp_helpsubscription_properties (N'in-reggiedbp01', N'ReggieProd', N'')}
Server: JUPITER
DBMS: Microsoft SQL Server
Version: 08.00.2039
user name: dbo
API conformance: 2
SQL conformance: 1
transaction capable: 2
read only: N
identifier quote char: "
non_nullable_columns: 1
owner usage: 31
max table name len: 128
max column name len: 128
need long data len: Y
max columns in table: 1024
max columns in index: 16
max char literal len: 524288
max statement len: 524288
max row size: 524288
Connecting to Distributor 'in-reggiedbp01.in.sfdph.net'
Connecting to Distributor 'in-reggiedbp01.in.sfdph.net.'
[11/6/2008 12:35:07 AM]in-reggiedbp01.in.sfdph.net.: exec
sp_helpdistpublisher N'in-reggiedbp01'
[11/6/2008 12:35:07 AM]in-reggiedbp01.in.sfdph.net.distribution: select
@@SERVERNAME
Server: IN-REGGIEDBP01
DBMS: Microsoft SQL Server
Version: 08.00.2050
user name: dbo
API conformance: 2
SQL conformance: 1
transaction capable: 2
read only: N
identifier quote char: "
non_nullable_columns: 1
owner usage: 31
max table name len: 128
max column name len: 128
need long data len: Y
max columns in table: 1024
max columns in index: 16
max char literal len: 524288
max statement len: 524288
max row size: 524288
[11/6/2008 12:35:07 AM]in-reggiedbp01.in.sfdph.net.distribution: execute
sp_server_info 18
ANSI codepage: 1
[11/6/2008 12:35:07 AM]in-reggiedbp01.in.sfdph.net.distribution: select
datasource, srvid from master..sysservers where upper(srvname) =
upper(N'JUPITER')
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: select
datasource, srvid from master..sysservers where upper(srvname) =
upper(N'in-reggiedbp01')
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MShelp_distribution_agentid(0, N'ReggieProd', NULL, 4,
N'Reggie4Replicated', 1)}
Initializing
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MSadd_distribution_history(15, 1, ?, ?, 0, 0, 0.00, 0x00, 1, ?, 0,
0x01, 0x01)}
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MSsubscription_status(15)}
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: execute
sp_MShelp_profile 15, 3, N''
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: select
datasource, srvid from master..sysservers where upper(srvname) =
upper(N'JUPITER')
[11/6/2008 12:35:08 AM]JUPITER.Reggie4Replicated: execute sp_server_info
18
ANSI codepage: 1
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: exec
sp_datatype_info 0, 3
[11/6/2008 12:35:08 AM]JUPITER.Reggie4Replicated: exec
sp_MSreplcheck_subscribe
[11/6/2008 12:35:08 AM]JUPITER.Reggie4Replicated: exec
sp_MScreate_sub_tables @tran_sub_table = 1, @property_table = 0
[11/6/2008 12:35:08 AM]JUPITER.Reggie4Replicated: exec
dbo.sp_MSinit_subscription_agent @publisher =
N'in-reggiedbp01',@publisher_db = N'ReggieProd', @publication = N'',
@subscription_type = 1
Connecting to Distributor 'in-reggiedbp01.in.sfdph.net.distribution'
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
master..sp_MScheck_agent_instance(N'IN-REGGIEDBP01-ReggieProd-JUPITER-15
', 10)}
[11/6/2008 12:35:08 AM]JUPITER.Reggie4Replicated: select
transaction_timestamp, subscription_guid from
MSreplication_subscriptions where publisher = ? and publisher_db = ? and
independent_agent = 0 and subscription_type = 1
[11/6/2008 12:35:08 AM]JUPITER.Reggie4Replicated: insert into
MSreplication_subscriptions values (?, ?, ?, 0, 1, ?, {ts '2008-11-06
00:35:08'}, NULL, ?,0, NULL, NULL, NULL, 0)
Agent message code 20046. String data, right truncation
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MSadd_distribution_history(15, 6, ?, ?, 0, 0, 0.00, 0x01, 1, ?, -1,
0x01, 0x01)}
Adding alert to msdb..sysreplicationalerts: ErrorId = 65,
Transaction Seqno = 0000000000000000000000000000, Command ID = -1
Message: Replication-Replication Distribution Subsystem: agent
IN-REGGIEDBP01-ReggieProd-JUPITER-15 failed. String data, right
truncation[11/6/2008 12:35:08
AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MSadd_repl_alert(3, 15, 65, 14151, ?, -1, N'in-reggiedbp01',
N'ReggieProd', N'JUPITER', N'Reggie4Replicated', ?)}
ErrorId = 65, SourceTypeId = 1
ErrorCode = ''
ErrorText = 'insert into MSreplication_subscriptions values (?, ?, ?, 0,
1, ?, {ts '2008-11-06 00:35:08'}, NULL, ?,0, NULL, NULL, NULL, 0)'
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MSadd_repl_error(65, 0, 1, ?, N'', ?)}
Category:COMMAND
Source: Failed Command
Number:
Message: insert into MSreplication_subscriptions values (?, ?, ?, 0, 1,
?, {ts '2008-11-06 00:35:08'}, NULL, ?,0, NULL, NULL, NULL, 0)
ErrorId = 65, SourceTypeId = 4
ErrorCode = '22001'
ErrorText = 'String data, right truncation'
[11/6/2008 12:35:08 AM]in-reggiedbp01.in.sfdph.net.distribution: {call
sp_MSadd_repl_error(65, 0, 4, ?, N'22001', ?)}
Category:ODBC
Source: ODBC SQL Server Driver
Number: 22001
Message: String data, right truncation
Disconnecting from Subscriber 'JUPITER'
Disconnecting from Distributor 'in-reggiedbp01.in.sfdph.net'
Disconnecting from Distributor History 'in-reggiedbp01.in.sfdph.net'
Microsoft SQL Server Distribution Agent 8.00.2039
Copyright (c) 2000 Microsoft Corporation
Microsoft SQL Server Replication Agent:
IN-REGGIEDBP01.IN.-ReggieProd-ReggieProd-JUPITER-Reggie4Replicated-3AD6E
052-8865-4CAA-9C41-15173148B647
*** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- RE: Error inserting into MSreplication_subscriptions table
- From: "Charles Wang [MSFT]"
- RE: Error inserting into MSreplication_subscriptions table
- From: "Charles Wang [MSFT]"
- RE: Error inserting into MSreplication_subscriptions table
- Prev by Date: RE: Transactional Replication
- Next by Date: SQL 2008 to SQL 2005 replication
- Previous by thread: The RPC security information for the Publisher is missing or inval
- Next by thread: RE: Error inserting into MSreplication_subscriptions table
- Index(es):
Relevant Pages
|