Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# beats 9/5/2006 7:05 PM
Hi

Can you please advise how I can rectify the error I am receiving when I am asked to enter a admin password.

The error I receive is

An error occured while creating the administrator:
NHibernate.ADOException: could not insert collection: [Cuyahoga.Core.Domain.User.Roles#2] ---> MySql.Data.MySqlClient.MySqlException: #HY000Field 'updatetimestamp' doesn't have a default value at MySql.Data.MySqlClient.PacketReader.CheckForError() at MySql.Data.MySqlClient.PacketReader.ReadHeader() at MySql.Data.MySqlClient.PacketReader.OpenPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(Int64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.CommandResult.ReadNextResult(Boolean isFirst) at MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume) at MySql.Data.MySqlClient.MySqlCommand.GetNextResultSet(MySqlDataReader reader) at MySql.Data.MySqlClient.MySqlCommand.Consume() at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at NHibernate.Impl.NonBatchingBatcher.AddToBatch(Int32 expectedRowCount) at NHibernate.Collection.AbstractCollectionPersister.Recreate(PersistentCollection collection, Object id, ISessionImplementor session) --- End of inner exception stack trace --- at Cuyahoga.Core.Service.CoreRepository.SaveObject(Object obj) at Cuyahoga.Web.Install.Install.btnAdmin_Click(Object sender, EventArgs e)

I really do not have a clue whats happening here, so any advice would be great.

Regards

Mike
# martijnb 9/6/2006 2:51 AM
This is a known issue. See also this topic.

The easiest way to get rid of the problem is to remove the updatetimestamp column because we're going to do the same for Cuyahoga 2.0 (cuyahoga_userrole table).