Fluent NHibernate MappingException : could not instantiate id generator

Posted by Mark Simpson on Stack Overflow See other posts from Stack Overflow or by Mark Simpson
Published on 2009-08-16T00:39:32Z Indexed on 2010/03/17 23:41 UTC
Read the original article Hit count: 298

Filed under:
|
|

I'm pottering around with Fluent NHibernate to try and get a simple app up and running. I'm running through this Fluent NHibernate Tutorial.

Everything seems to be going fine and I've created the required classes etc. and it all builds, but when I run the test, I get an exception. Someone in the comments section of the tutorial has the same problem, but I can't find any good information on what's causing it. Any help appreciated. It's probably something trivial.

Exception details:

FluentNHTest.Tests.Mappings.CustomerMappingTests.ValidateMappings: FluentNHibernate.Cfg.FluentConfigurationException : An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.

----> FluentNHibernate.Cfg.FluentConfigurationException : An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.

----> NHibernate.MappingException : could not instantiate id generator ----> System.FormatException : Input string was not in a correct format.

© Stack Overflow or respective owner

Related posts about fluent-nhibernate

Related posts about nhibernate