It sounds like there's a versioning issue going on here. How many projects do you have in your solution? How many of those reference either NH or Castle.DynamicProxy? Are all of those projects referencing the same version of NH/DynamicProxy from the same location? Are you using the GAC and are you certain all the projects are either referencing from the GAC, or not at all?
On Tue, Apr 28, 2009 at 4:46 PM, Hudson Akridge <[email protected]>wrote: > Hrm, give me a few and I'll try grabbing the binaries as well and getting a > test scenario going. To assist me, would you mind posting a couple of simple > class data definitions and their corresponding mappings (say for Product)? > I'd like to replicate your environment as much as possible here. > > > On Tue, Apr 28, 2009 at 10:41 AM, jimmarq <[email protected]>wrote: > >> >> I downloaded the binaries and source for r457. I built the source and >> the tests passed. I still get the same error, though. >> >> Here is the method where the exception is thrown in >> FluentConfiguration.cs, line 99: >> >> /// <summary> >> /// Verify's the configuration and instructs NHibernate to >> build a SessionFactory. >> /// </summary> >> /// <returns>ISessionFactory from supplied settings.</returns> >> public ISessionFactory BuildSessionFactory() >> { >> try >> { >> return BuildConfiguration() >> .BuildSessionFactory(); >> } >> catch (Exception ex) >> { >> throw CreateConfigurationException(ex); >> } >> } >> >> I'm new to NHibernate and Fluent NHibernate, so I'm not exactly sure >> how to go about troubleshooting this. I appreciate your help. >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
