Login

Username

Password





Register   Reset password

Get Cuyahoga at SourceForge.net. Fast, secure and Free Open Source software downloads

Forum

Welcome Guest Search | Active Topics | Members

Error Creating Node using MySql Options
lmtsypin
Posted: Monday, August 14, 2006 12:30:24 PM
Rank: Member
Groups: Member

Joined: 4/28/2006
Posts: 23
Points: 0
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
Posted: Tuesday, August 15, 2006 5:20:58 AM

Rank: Administration
Groups: Administration , Member

Joined: 12/30/2004
Posts: 1,674
Points: 1,824
Location: Wageningen (NL)
Has the noderoleid field in the cuyahoga_noderole table the AUTO_INCREMENT attribute?
lmtsypin
Posted: Tuesday, August 15, 2006 6:24:41 AM
Rank: Member
Groups: Member

Joined: 4/28/2006
Posts: 23
Points: 0
martijnb wrote:
Has 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
Posted: Tuesday, August 15, 2006 8:24:55 AM

Rank: Administration
Groups: Administration , Member

Joined: 12/30/2004
Posts: 1,674
Points: 1,824
Location: Wageningen (NL)
No idea. I'm really not that much into MySQL to be honest happy.

Maybe some others have experiences with this?
hobbis
Posted: Tuesday, November 9, 2010 1:40:56 AM

Rank: Advanced Member
Groups: Member

Joined: 12/11/2007
Posts: 89
Points: 267
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.

Web Developer, Kent - Coolbytes
goolz
Posted: Tuesday, November 9, 2010 3:05:24 AM
Rank: Advanced Member
Groups: Member

Joined: 6/18/2007
Posts: 39
Points: 117
hobbis wrote:
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.


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


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Yet Another Forum.net version 1.9.0 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.