Hi,
I've updated one of our projects to 2.1.0.Alpha1 and adjusted the NHibernate configuration to use LinFu: 1. Adjusted the configuration file <property name="proxyfactory.factory_class"> NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu </property> 2. Added dependancies to the bin folder Added files : * LinFu.DynamicProxy.dll * NHibernate.ByteCode.LinFu.dll Now when I execute the unittest project I get the following error: =================================== Unable to load type 'NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu' during configuration of proxy factory class. Possible causes are: - The NHibernate.Bytecode provider assembly was not deployed. - The typeName used to initialize the 'proxyfactory.factory_class' property of the session-factory section is not well formed. Solution: Confirm that your deployment folder contains one of the following assemblies: NHibernate.ByteCode.LinFu.dll NHibernate.ByteCode.Castle.dll ----> System.IO.FileLoadException : Could not load file or assembly 'NHibernate, Version=2.1.0.1001, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) =================================== I've checked the output folder and all required files are there: * Iesi.Collections.dll * LinFu.DynamicProxy.dll * log4net.dll * NHibernate.ByteCode.LinFu.dll * NHibernate.dll So then I started Sysinternals Proces Monitor and these are the LinFu related errors that got logged: 1:09:34.8874798 PM ProcessInvocation.exe 3288 QueryAllInformationFile C:\****\bin\NHIBERNATE.BYTECODE.LINFU.DLL BUFFER OVERFLOW CreationTime: 3/17/2009 12:23:30 PM, LastAccessTime: 3/17/2009 1:08:48 PM, LastWriteTime: 3/17/2009 11:41:31 AM, ChangeTime: 3/17/2009 11:41:31 AM, FileAttributes: A, AllocationSize: 12,288, EndOfFile: 8,704, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x2700000002fe1c, EaSize: 0, Access: Generic Read, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte Some sort of BUFFER OVERFLOW error on the LinFu assembly. So now I'm pretty much lost as it seems that I did all stuff required to make it work but is does not. Ideas anyone? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
