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

3,172 views
Skip to first unread message

marcos arrostito

unread,
May 8, 2016, 8:05:12 PM5/8/16
to Fluent NHibernate
I have this error trying to execute my application in a computer different from my developer computer.

I check the fluentnhibernate.dll and its in the folder.

what i am missing?

Thanks

Oskar Berggren

unread,
May 8, 2016, 8:41:58 PM5/8/16
to fluent-n...@googlegroups.com
I think your message would have been clearer if you put the text in the body of the mail instead of abusing the subject.

Having said that, did you follow it's suggestion to check all InnerExceptions?

/Oskar

--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibern...@googlegroups.com.
To post to this group, send email to fluent-n...@googlegroups.com.
Visit this group at https://groups.google.com/group/fluent-nhibernate.
For more options, visit https://groups.google.com/d/optout.

Oskar Berggren

unread,
May 8, 2016, 8:43:47 PM5/8/16
to fluent-n...@googlegroups.com
Btw, since it's a FluentConfigurationException, the mere presence of that should prove that the DLL has been found and loaded, so the problem need to be searched for elsewhere.

/Oskar

Aki

unread,
May 9, 2016, 7:11:13 AM5/9/16
to fluent-n...@googlegroups.com
i can't check innerexception because the error doesn't appear in my solution, only on the executables in other computer.

Thanks

--
You received this message because you are subscribed to a topic in the Google Groups "Fluent NHibernate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluent-nhibernate/dZbIgIrPkDc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluent-nhibern...@googlegroups.com.

Oskar Berggren

unread,
May 9, 2016, 7:38:02 AM5/9/16
to fluent-n...@googlegroups.com
So? Then you need to fix your program to not hide the error messages but to make sure they are all including in relevant logs. log4net or exception.ToString() (instead of .Message) is your friend here.

Fixing that is probably a far better use of time than trying to guess where in your setup code you've made a mistake.

/Oskar



Reply all
Reply to author
Forward
0 new messages