Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# digifool 10/7/2005 9:05 AM
Hi,
I've just installed Cuyahoga using VS.NET 2003, IIS6, ASP.NET 1.1 and Postgressql.

The installation all seemed to be going well until I get to the create administrator account at which point I get the following:-

An error occured while creating the administrator:
NHibernate.ADOException: could not insert: [Cuyahoga.Core.Domain.User#3] ---> Npgsql.NpgsqlException: at Npgsql.NpgsqlConnector.CheckErrors() at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() at Npgsql.NpgsqlCommand.ExecuteCommand() at Npgsql.NpgsqlCommand.ExecuteNonQuery() at NHibernate.Impl.NonBatchingBatcher.AddToBatch(Int32 expectedRowCount) at NHibernate.Persister.EntityPersister.Insert(Object id, Object[] fields, Boolean[] notNull, SqlString sql, Object obj, ISessionImplementor session) --- End of inner exception stack trace --- at Cuyahoga.Core.Service.CoreRepository.SaveObject(Object obj) in C:\Downloads\Cuyahoga-0.9.0-src\Core\Service\CoreRepository.cs:line 191 at Cuyahoga.Web.Install.Install.btnAdmin_Click(Object sender, EventArgs e) in C:\Downloads\Cuyahoga-0.9.0-src\Web\Install\Install.aspx.cs:line 167

Looking at the database I can see the installation has created some tables so I guess the connectivity is fine.

Can someone identify whether I've done something stupid or what I could do to correct the error.

Thanks
# martijnb 10/7/2005 9:50 AM
As far as I can see, you haven't done anything wrong. To be sure, I just tried a fresh 0.9.0 install on PostgreSQL 7.4.1 and everything went well. Which PostgreSQL version are you using?

To get more information, turn on logging by uncommenting the log4net section in the web.config and set the root log level to INFO.