That is the correct version, there's no point getting SVN in that case. Check what assemblies are being put into your output folder. Make sure the Castle proxy stuff is there.
On Tue, Jul 28, 2009 at 9:29 AM, Tomk <[email protected]> wrote: > > > > I downloaded build 535 with the assumption these are the latest bits; > haven't installed svn yet, will do that now. Is this the correct > version? > > On Jul 28, 10:25 am, James Gregory <[email protected]> wrote: > > Those exceptions are saying you haven't set the proxy factory factory... > > UnableToLoadProxyFactoryFactoryException > > Are you using the latest FNH? If so it should default to using the Castle > > proxy factory, have you included the NHibernate.Castle.ByteCode.dll? > > > > > > > > On Tue, Jul 28, 2009 at 9:17 AM, Tomk <[email protected]> wrote: > > > > > I have also tried including the x86 dll and setting the build to x86. > > > I then get a whole lot more info in my output screen (sorry for the > > > large dump). > > > > > Maybe this will help to troubleshoot. > > > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped > > > loading symbols. Module is optimized and the debugger option 'Just My > > > Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities > > > \9.0.0.0__b03f5f7f11d50a3a > > > \Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading > > > symbols. Module is optimized and the debugger option 'Just My Code' is > > > enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System.Windows.Forms > > > \2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading > > > symbols. Module is optimized and the debugger option 'Just My Code' is > > > enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped > > > loading symbols. Module is optimized and the debugger option 'Just My > > > Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a > > > \System.Drawing.dll', Skipped loading symbols. Module is optimized and > > > the debugger option 'Just My Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync > > > \9.0.0.0__b03f5f7f11d50a3a > > > \Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped > > > loading symbols. Module is optimized and the debugger option 'Just My > > > Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime > > > \9.0.0.0__b03f5f7f11d50a3a > > > \Microsoft.VisualStudio.Debugger.Runtime.dll', Skipped loading > > > symbols. Module is optimized and the debugger option 'Just My Code' is > > > enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug > > > \ConsoleApplication1.vshost.exe', Skipped loading symbols. Module is > > > optimized and the debugger option 'Just My Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll', > > > Skipped loading symbols. Module is optimized and the debugger option > > > 'Just My Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System.Xml.Linq > > > \3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll', Skipped loading > > > symbols. Module is optimized and the debugger option 'Just My Code' is > > > enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', > > > Skipped loading symbols. Module is optimized and the debugger option > > > 'Just My Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', > > > Skipped loading symbols. Module is optimized and the debugger option > > > 'Just My Code' is enabled. > > > The thread 0x1fa8 has exited with code 0 (0x0). > > > The thread 0x1dd8 has exited with code 0 (0x0). > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug > > > \ConsoleApplication1.exe', Symbols loaded. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug\NHibernate.dll' > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug > > > \FluentNHibernate.dll', Symbols loaded. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug\log4net.dll' > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a > > > \System.Configuration.dll', Skipped loading symbols. Module is > > > optimized and the debugger option 'Just My Code' is enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug\Iesi.Collections.dll' > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'xhrxgilp' > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'oj_fiksk' > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\bin\Debug > > > \System.Data.SQLite.dll' > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_32\System.Transactions > > > \2.0.0.0__b77a5c561934e089\System.Transactions.dll', Skipped loading > > > symbols. Module is optimized and the debugger option 'Just My Code' is > > > enabled. > > > 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C:\Windows\assembly > > > \GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a > > > \System.EnterpriseServices.dll', Skipped loading symbols. Module is > > > optimized and the debugger option 'Just My Code' is enabled. > > > A first chance exception of type > > > 'NHibernate.Bytecode.UnableToLoadProxyFactoryFactoryException' > > > occurred in NHibernate.dll > > > A first chance exception of type > > > 'FluentNHibernate.Cfg.FluentConfigurationException' occurred in > > > FluentNHibernate.dll > > > System.Transactions Critical: 0 : <TraceRecord xmlns="http:// > > > schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" > > > Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/ > > > TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/ > > > Unhandled</TraceIdentifier><Description>Unhandled exception</ > > > Description><AppDomain>ConsoleApplication1.vshost.exe</ > > > > > > AppDomain><Exception><ExceptionType>FluentNHibernate.Cfg.FluentConfigurationException, > > > FluentNHibernate, Version=0.1.0.535, Culture=neutral, > > > PublicKeyToken=8aa435e3cb308880</ExceptionType><Message>An invalid or > > > incomplete configuration was used while creating a SessionFactory. > > > Check PotentialReasons collection, and InnerException for more detail. > > > > > </Message><StackTrace> at > > > FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory() in d: > > > \Builds\FluentNH\src\FluentNHibernate\Cfg\FluentConfiguration.cs:line > > > 98 > > > at Examples.FirstProject.Program.CreateSessionFactory() in C:\dev > > > \temp\DBStandAloneSpike\ConsoleApplication1\Program.cs:line 82 > > > at Examples.FirstProject.Program.Main() in C:\dev\temp > > > \DBStandAloneSpike\ConsoleApplication1\Program.cs:line 20 > > > at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] > > > args) > > > at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence > > > assemblySecurity, String[] args) > > > at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly > > > () > > > at System.Threading.ThreadHelper.ThreadStart_Context(Object state) > > > at System.Threading.ExecutionContext.Run(ExecutionContext > > > executionContext, ContextCallback callback, Object state) > > > at System.Threading.ThreadHelper.ThreadStart()</ > > > > > > StackTrace><ExceptionString>FluentNHibernate.Cfg.FluentConfigurationException: > > > An invalid or incomplete configuration was used while creating a > > > SessionFactory. Check PotentialReasons collection, and InnerException > > > for more detail. > > > > > ---&gt; > > > NHibernate.Bytecode.UnableToLoadProxyFactoryFactoryException: Unable > > > to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory, > > > NHibernate.ByteCode.Castle' 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 ---&gt; > > > System.IO.FileNotFoundException: Could not load file or assembly > > > 'NHibernate.ByteCode.Castle' or one of its dependencies. The system > > > cannot find the file specified. > > > File name: 'NHibernate.ByteCode.Castle' > > > at System.Reflection.Assembly._nLoad(AssemblyName fileName, String > > > codeBase, Evidence assemblySecurity, Assembly locationHint, > > > StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, > > > Boolean forIntrospection) > > > at System.Reflection.Assembly.nLoad(AssemblyName fileName, String > > > codeBase, Evidence assemblySecurity, Assembly locationHint, > > > StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, > > > Boolean forIntrospection) > > > at System.Reflection.Assembly.InternalLoad(AssemblyName > > > assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; > > > stackMark, Boolean forIntrospection) > > > at System.Reflection.Assembly.InternalLoad(String assemblyString, > > > Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean > > > forIntrospection) > > > at System.Reflection.Assembly.Load(String assemblyString) > > > at NHibernate.Util.ReflectHelper.TypeFromAssembly > > > (AssemblyQualifiedTypeName name, Boolean throwOnError) > > > at NHibernate.Util.ReflectHelper.ClassForName(String name) > > > at > > > NHibernate.Bytecode.AbstractBytecodeProvider.SetProxyFactoryFactory > > > (String typeName) > > > > > === Pre-bind state information === > > > LOG: User = Tom-PC\Tom > > > LOG: DisplayName = NHibernate.ByteCode.Castle > > > > ... > > > > read more »- 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 -~----------~----~----~----~------~----~------~--~---
