I'm taking Castle Active Record for a test drive, and I'm running into
a little problem while working through the Getting Started
instructions.

I'm trying to install the correct assemblies (as per the
"requirements" page), so I downloaded ActiveRecord2.0.zip, but there
is no file called Castle.DynamicProxy.dll.   There is a
LinFu.DynamicProxy and a Castle.DynamicProxy2, so I grabbed both of
those.

When I build my project, I get an error:

=======
Can't load file SessionFactoryHolder.cs under c:\daten\dev\External
\Castle\AR2.0\ActiveRecord\Castle.ActiveRecord\Framework.
Check the file permission and the existence of that file.
========

so it looks like something has been hard-coded because I don't have a
directory called c:\daten

If I continue with the program (which is probably a bad idea and
everything beyond here is irrelevant), I get an unhandled exception:

=====
NHibernate.Bytecode.ProxyFactoryFactoryNotConfiguredException: An
exception occurred in the persistence layer.
   at
NHibernate.Bytecode.AbstractBytecodeProvider.get_ProxyFactoryFactory
   at NHibernate.Cfg.Configuration.Validate
   at NHibernate.Cfg.Configuration.BuildSessionFactory
   at
Castle.ActiveRecord.Framework.SessionFactoryHolder.GetSessionFactory
in c:\daten\dev\External\Castle\AR2.0\ActiveRecord\Castle.ActiveRecord
\Framework\SessionFactoryHolder.cs:line 131
   at Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateSession
in c:\daten\dev\External\Castle\AR2.0\ActiveRecord\Castle.ActiveRecord
\Framework\SessionFactoryHolder.cs:line 187
   at Castle.ActiveRecord.ActiveRecordBase.InternalCreate in c:\daten
\dev\External\Castle\AR2.0\ActiveRecord\Castle.ActiveRecord\Framework
\ActiveRecordBase.cs:line 123
   at Castle.ActiveRecord.ActiveRecordBase.Create in c:\daten\dev
\External\Castle\AR2.0\ActiveRecord\Castle.ActiveRecord\Framework
\ActiveRecordBase.cs:line 1475
   at LearnCastle.Program.Main in c:\Users\chris\Documents
\SharpDevelop Projects\LearnCastle\LearnCastle\Program.cs:line 32
=====

Any thoughts?  Perhaps this is something that's fixed in the source
tree and I need to grab that?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to