Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# magnum 3/14/2006 4:51 AM
after "Database tables successfully created. "

when "Set administrator password"

i get this error:

An error occured while creating the administrator:
NHibernate.ADOException: could not insert collection: [Cuyahoga.Core.Domain.User.Roles#1] ---> 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(UInt64& 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)


can you help me ?
# martijnb 3/14/2006 5:59 AM
What version of MySQL are you using?
# magnum 3/14/2006 6:21 AM
I'm using 5.0.18-nt.max via TCP-IP
I tried on MSSQL, getting a similar error.
Generally it seems that the scripts don't handle correctly date inserting.
# martijnb 3/14/2006 7:24 AM
magnumI tried on MSSQL, getting a similar error.

That's really strange. It probably must have something to do with your culture settings.

Could you turn on logging in the web.config by uncommenting the log4net section and setting the priority value of the root logger to 'DEBUG'? Maybe this will show some extra details about what goes wrong.
# WaYdotNET 3/15/2006 12:41 AM
hi magnum (ciao)

i use 5.0.18 version in localhost and 4.1.7 in the web... and i have no problem...


[italian]
ciao magnum, io uso la versione 5.0.18 in locale e la 4.1.7 in remoto e mi funziona tutto benissimo...

non so come poterti aiutare mi dispiace