It seems today’s the day for me to make daft mistakes and then blog about them.
If you’re using Fluent NHibernate (and there are many reasons why you should ;-)) and see this error message…
An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.
* Database was not configured through Database method.
System.IndexOutOfRangeException: Index was outside the bounds of the array.