Groups | Blog | Home
all groups > sql server replication > may 2006 >

sql server replication : Cannot insert the value NULL into column 'nicknames', table


Alfonso Larriva
5/3/2006 12:50:59 AM
Function sequence error

(Source: ODBC Driver Manager (ODBC); Error number: 0)





The process could not make a generation at the 'Subscriber'.

(Source: Merge Replication Provider (Agent); Error number: -2147200994)

---------------------------------------------------------------------------------------------------------------

Cannot insert the value NULL into column 'nicknames', table
'Softwise.dbo.MSmerge_genhistory'; column does not allow nulls. INSERT
fails.

(Source: FC37 (Data source); Error number: 515)

----------------------------------------------------------------------------------
---



****



I have a main SQL Server and I'm trying to setup another server that
replicates to the first one. I copied the database across (because some
items don't replicate), then I delete some of the tables so that I can
replicate them across. And, somewhere in there I have to remove some
triggers to get it to move forward. But, I'm stuck on this particular
problem.



I have seen lots of questions about this elsewhere, but I've not gotten a
solution that works. I have checked the tables to make sure that the
coallation is the same on both. I have added the ability to add nulls to
the destination, but no luck there -- it doesn't work and it changes the
table on the subscriber to be just like the publisher.



Any suggestions what I can do to make this work? I'm using SQL Server 2000
SP 4 and the two machines are local. They both have names and are not using
their own IP Addresses.



The software company that wrote the software had their smart guy quit, and
I'm smart, but I'm not exactly the SQL programmer. HELP HELP HELP.

Alfonso Larriva
5/3/2006 1:12:08 AM
My bad, my desination server was not named correctly. No clue why, but it's
now got a name and it's much happier as a result of it.

(1) a naming issue.
Try:
Use Master
go
Select @@Servername

This should return your current server name but if it
returns NULL then try:
Use Master
go
Sp_DropServer 'Server1'
GO
Use Master
go
Sp_Addserver 'Server1', 'local'
GO
Stop and Start SQL Services

Paul the Microsoft SQL guy posted the above. You put the name of your
server in place of Server1.


[quoted text, click to view]

Alfonso Larriva
5/7/2006 6:42:20 PM
I got through this problem by naming the server in Query Analyzer.
Once FC37 had a name, this error went away.

And, now I have new errors. Which I will post.


[quoted text, click to view]

Carlos Grahmann
7/19/2006 9:42:01 PM
Hi, just today I have the same problem, about a few month ago I make the same
exercises and it work properly, but today, I add a new publication from
another server and then apears the error ...-2147200994..., and also, when
the SQl distribute the script to publish the tables appears another error,
something about the rowguid, but I create the field in the suscriber and the
problem fix up, but I error -2147200994 persists, I hope Some one can help me
with the problem.

[quoted text, click to view]
AddThis Social Bookmark Button