Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Yeorwned 9/15/2009 5:05 PM
I realize the trunk is not yet supported by was just hoping to get a sneak preview of what is to come. However, there is a little unhappiness with MySQL at the time. Revision 885.
2009-09-15 10:52:18,513 ERROR Cuyahoga.Web.Components.Bootstrapper - Error initializing application. 
System.InvalidCastException: Unable to cast object of type 'MySql.Data.MySqlClient.MySqlConnection' to type 'System.Data.Common.DbConnection'.
   at NHibernate.Tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.Prepare()
   at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords(Dialect dialect, IConnectionHelper connectionHelper)
   at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactory sessionFactory)
   at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings, EventListeners listeners)
   at NHibernate.Cfg.Configuration.BuildSessionFactory()
   at Castle.Facilities.NHibernateIntegration.Internal.SessionFactoryActivator.Create(CreationContext context)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context)
   at Castle.MicroKernel.Lifestyle.SingletonLifestyleManager.Resolve(CreationContext context)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service)
   at Castle.MicroKernel.DefaultKernel.get_Item(Type service)
   at Cuyahoga.Core.Service.SessionFactoryHelper.ConfigureLegacySessionFactory() in Cuyahoga.Core\Service\SessionFactoryHelper.cs:line 49
   at Cuyahoga.Web.Components.CuyahogaContainer.ConfigureLegacySessionFactory() in Cuyahoga.Web\Components\CuyahogaContainer.cs:line 41
   at Cuyahoga.Web.Components.CuyahogaContainer..ctor() in Cuyahoga.Web\Components\CuyahogaContainer.cs:line 19
   at Cuyahoga.Web.Components.Bootstrapper.InitializeContainer() in Cuyahoga.Web\Components\Bootstrapper.cs:line 36


I did get it to run well using Microsoft SQL server but thought I'd mention this anyway incase it had fallen into the shadows.
# martijnb 9/15/2009 8:45 PM
MySQL and PostgreSQL as well don't have any of the 2.0 db scripts yet. It's planned after the first alpha, but if somebody is willing to convert the SQL Server scripts, we'd be more than happy to incorporate these.
# Yeorwned 9/15/2009 9:02 PM
Once the structure is finalized, I can help convert those easily enough. That obviously won't do much at this time while the code doesn't support the schemas yet. Loved the little bit of the new admin panel I saw.