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
Has the noderoleid field in the cuyahoga_noderole table the AUTO_INCREMENT attribute?
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.
No idea. I'm really not that much into MySQL to be honest :).
Maybe some others have experiences with this?
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.
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.