title: nHibernate ProxyFactory issues
body: <p>I am setting up my first nHibernate project.  I have created a simple web form that accepts a name and an id however, I keep on getting the following error:</p>
  
  <p>The ProxyFactoryFactory was not configured.
  Initialize 'proxyfactory.factory_class' property of the session-factory configuration section with one of the available NHibernate.ByteCode providers.
  Example:
  NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu
  Example:
  NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</p>
  
  <p>I have already added the references to both Castle and LinFu to my project.  I have also configured the web.config to the following:</p>
  
  <pre><code>&lt;section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" allowDefinition="Everywhere"/&gt;
  </code></pre>
  
  <p>
      
      
      
      
    </p>
  
  <p>Can you tell me what is going on?  I have tried everything.  Is it that I imported a lot of my mappings etc, from visualNHibernate?  Appreciate the help.</p>