Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 636335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:30:14+00:00 2026-05-13T20:30:14+00:00

I am having an issue getting Hibernate and Windsor to work together. My setup

  • 0

I am having an issue getting Hibernate and Windsor to work together. My setup details are as follows

I have two projects
-DomainModel
-MVCApp

I have downloaded NHibernate 2.1.2 and Windsor 2.1.1

I added the following references to DomainModel from the required_Bins folder of the NHibernate download –
Antlr3,Iese,log4net and NHibernate 2.1.2.4
I also added references in DomainModel to files for Lazy_loading including

Castle.Core – 1.1.0.0
Castle.DynamicProxy2 – 2.1.0.0
NHibernate.ByteCode.Castle – 2.1.2.4

The MVCApp has the following references:

Castle.Core – 1.2.0.6623
Castle.Microkernel – 2.1.0.6655
Castle.Windsor – 2.1.0.6655
Castle.DynamicProxy2 – 2.2.0.6628

When running the app I get the Error :

Could not load file or assembly ‘Castle.DynamicProxy2, Version=2.1.0.0,
Calling assembly : NHibernate.ByteCode.Castle, Version=2.1.2.4000

The MVC bin folder has the Castle.DynamicProxy2 – 2.2.0.6628 version, hence the error after the older version was requested.

How do I go about getting this to work? What am I missing or including incorrectly? Please help.. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:30:14+00:00Added an answer on May 13, 2026 at 8:30 pm

    From where did you get your NHibernate.ByteCode.Castle?

    I believe that ActiveRecord 2.1 will have one built for the latest stable release of DynamicProxy2.

    Otherwise, do what Lachlan Roche suggests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been having an issue getting .getScript to work in some odd cases. For
I'm having an issue getting this jQuery.ajax call to work. When the script executes
I am having an issue getting this to work. On our form we validate
I'm having an issue with MySQL. I have two tables, categories and topics. I
i am having trouble getting this to work, can any one spot the issue?
We are having some issues getting SharePoint to work as we want it to.
I'm having an issue with CruiseControl.net where the web dashboard just won't work in
I am using JPA with Hibernate underneath, and I am having trouble getting merge
I am having trouble getting the right hibernate annotations to use on a Map
I'm having an issue getting the public keys for some of the .net 4.0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.