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

Merge Replication Error-call to MSmerge_ins_sp and MSmerge_upd_sp calls produces Implict Conversion Datatype errors?

$
0
0

Hi all,

Hoping someone has some advice on this specific error.

Background info

I have a read-only subscription for an article "quote" and it keeps retring to insert and update 20 odd records. When I put a trace on and track down the offending code its looking like its calling the stored procedures with incorrect parameters causing a datatype conversion error?

The resulting error is a

"The merge process is retrying a failed operation made to article ''quote'' - Reason: ''Implicit conversion from data type varchar to varbinary is not allowed."

Here are some example calls which fail when I call them manually

exec [dbo].[MSmerge_ins_sp_649622254F6B4EDE6845A21483954514] 'E15E798F-8423-E511-9403-40F2E9249F9A','22',90952,1313767,737439,'','martini',NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'robrown','2015-07-06 10:13:16','robrown','2015-07-06 10:13:16',385807,NULL,NULL,'','','','',NULL,NULL,NULL,NULL,'','  ',NULL,NULL,'E15E798F-8423-E511-9403-40F2E9249F9A',NULL,0,NULL,NULL,NULL,NULL,NULLan

and an update

exec [dbo].[MSmerge_upd_sp_649622254F6B4EDE6845A21483954514] 'B709A45F-DA22-E511-9403-40F2E9249F9A',0xC0F9FF7F7F303CEB030000000000000000000000000000000000000000000000,'03',24572,1313672,737315,'','cherbert',NULL,NULL,NULL,11,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'cherbert','2015-07-05 13:55:01','cherbert','2015-07-06 10:13:39.4900000',NULL,NULL,'','','','',NULL,NULL,NULL,NULL,'','  ',NULL,NULL,'B709A45F-DA22-E511-9403-40F2E9249F9A',NULL,1,NULL,NULL,NULL,NULL,NULLI have

I have ran into this error a few times and am getting sick of redeclaring the article to amend.

Any advice appreciated as always.

Kind Regards,

Matt


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>