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

Replication sync problem

$
0
0

Hello all,

We are having problem setting up transactional replication for one database. The sync at the subscriber is failing with the following error:

"Column name or number of supplied values does not match table definition."

I already matched the source and destination tables and didn't find anything different. The only difference I found is in the actual command (which is giving the error) in the Distribution database with the same command that I captured with SQL profiler.

The following I found from the profiler (when the command executed against the subscription database):

exec [dbo].[sp_MSins_dbotable] '1234 ','Address ',' ',' ',' ','

', ','2011-01-01 00:00:00'

The following I found from the distribution database using sp_browsereplcmds:

{CALL [dbo].[sp_MSins_dbotable] '1234 ','Address ',' ',' ',' ','

',' ',2011-01-01 00:00:00.000

So the date data in the actual command in distribution database has milliseconds, but the command that executed against the subscription database does not have it. Can this be the problem? The collation of subscriber and publisher is same. Could you please provide some suggestions on this.

Thanks in advance.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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