> On Mon, Apr 25, 2011 at 5:49 PM, Matan Goldschmiedt <
mata...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > Hi,
>
> > I've added NHibernate search to my project and tried to run some
> > queries, but I get the following error:
>
> > FluentNHibernate.Cfg.FluentConfigurationException: An invalid or
> > incomplete configuration was used while creating a SessionFactory.
> > Check PotentialReasons collection, and InnerException for more detail.
>
> > ---> System.IO.FileLoadException: Could not load file or assembly
> > 'Lucene.Net, Version=2.9.2.2, Culture=neutral,
> > PublicKeyToken=f5940d1699e37ff1' or one of its dependencies. The
> > located assembly's manifest definition does not match the assembly
> > reference. (Exception from HRESULT: 0x80131040)
>
> > When printing the assembly's information, I can see it doesn't have a
> > PublicKeyToken, yet NHibernate is expecting one. I got stuck with a
> > couple of questions:
> > 1. Does the current NuGet package add an incompatible version of
> > Lucene and NH?
> > 2. Should NHibernate expect a specific version in the first place?
> > 3. How come it only happened to me? :)
>
> > Thanks.
>
> > --