Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# lmtsypin 8/14/2006 9:30 PM
Hey - I am getting the following error when trying to creat a new child node:
An error occured: could not insert collection: [Cuyahoga.Core.Domain.Node.NodePermissions#0], Duplicate entry '0' for key 1

Using MySql. Anyone have any ideas?

Lev
# martijnb 8/15/2006 2:20 PM
Has the noderoleid field in the cuyahoga_noderole table the AUTO_INCREMENT attribute?
# lmtsypin 8/15/2006 3:24 PM
martijnbHas the noderoleid field in the cuyahoga_noderole table the AUTO_INCREMENT attribute?
Nope, that was it. Any idea why? I exported from a MySql 5 database into a MySql 4, so that could be the problem.
# martijnb 8/15/2006 5:24 PM
No idea. I'm really not that much into MySQL to be honest :).

Maybe some others have experiences with this?
# hobbis 11/9/2010 10:40 AM
Same thing happened to me when I copied databases in SQL Management Studio. the identity specification was not set. Strange. All I did was create new database then import everything from an existing one.
# goolz 11/9/2010 12:05 PM
hobbisSame thing happened to me when I copied databases in SQL Management Studio. the identity specification was not set. Strange. All I did was create new database then import everything from an existing one.

SQL Management Studio just imports the data , not the structure , you must first create the tables by CUY or script then import the data.