RSS Feeds

Saturday, 20 March 2010


Anyone seen this error message?

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.

Confirm that your deployment folder contains one of the following assemblies: 

Well after hours of searching I finally found that if I changed my target build from x86 to x64 the problem resolves itself. This has to go into my top 10 most annoying bugs of all time.


d4dilip said...

I am facing the same problem. I am trying to fix this since last 2 days . I have many other projects using nhibernate but .. this time i am working on a new project. It created the database properly but do not give me nhibernate session back..but returns this error message ..

My Environment
.net 3.5
sql express 2005

Any help ??

Post a Comment