"Could not find a part of the path 'C:\\Documents and Settings\\softdev
\\Desktop\\paulbatum-Fluent-NH-Test-Bed-108b9f8\\paulbatum-Fluent-NH-
Test-Bed-108b9f8\\Console\\bin\\Debug\\mappings\
\AutoMappings.hbm.xml'."

The "mappings" directory does not exist on my PC.

Is there a way to configure NHibernate to auto create that directory,
or should I just do it in my own code?

Also, I got the inner exception message by putting a "try-catch" block
around the problem code, and browsing the Exception parameter.  Is
there a better way to do this?

Thanks,

-Tom

Also,
On Nov 3, 10:53 am, James Gregory <[email protected]> wrote:
> What does the inner exception say?
>
>
>
> On Tuesday, November 3, 2009, tbushell <[email protected]> wrote:
>
> >> I've tagged a very simple automapping example that should work straight out
> >> of the box here (theres a download link if you don't want to pull it down
> >> with 
> >> git):http://github.com/paulbatum/Fluent-NH-Test-Bed/tree/auto-version-col
>
> > Thanks Paul - it was what I was looking for.
>
> > However, when I run it, I get the following exception in
> > CreateSessionFactory:
>
> >     An unhandled exception of type
> > 'FluentNHibernate.Cfg.FluentConfigurationException' occurred in
> > FluentNHibernate.dll
>
> >     Additional information: An invalid or incomplete configuration was
> > used while creating a SessionFactory. Check
> >     PotentialReasons collection, and InnerException for more detail.
>
> > Do you get the same behavior?
>
> > -Tom- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to