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 5937857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:36:06+00:00 2026-05-22T15:36:06+00:00

I am building a REST WCF Application in top of Windows Azure. In localhost

  • 0

I am building a REST WCF Application in top of Windows Azure. In localhost I am able to connect and use SQL Azure with NHibernate nicely, but whenever I try to move the application to Windows Azure, it cannot load the required DLLs for NHibernate to work properly.

I’ve seen forums where it says that this problem might occur if the NHibernate DLLs were compiled with x86 target, and since Windows Azure runs on x64, I tried to modify the target of my build to x64 (although I am running Windows 7 x86).

The problem it is displaying is

The server encountered an error
processing the request. The exception
message is ‘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’. See
server logs for more details.

Have anyone has seen this error before? How do I solve this?

  • 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-22T15:36:07+00:00Added an answer on May 22, 2026 at 3:36 pm

    Well, it turned out that this didn’t had anything to do with Azure, which runs it fairly effortless.

    To make this to work I had to hack the msbuild process, who was “smart” enough to leave out the Castle dll. As stated, this should not be a permanent fix, because you will need to modify msbuild configuration so it includes the required dll’s. I just don’t know how to do that yet, perhaps the geniuses at StackOverflow can help us.

    This was the blog post that helped me, sharing with you for future reference:

    http://weblogs.asp.net/srkirkland/archive/2009/10.aspx

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

Sidebar

Related Questions

I am building a REST application that makes use of CORS. Every REST call
I'm building a REST application with AppEngine Datastore as persistence layer. However I have
I'm currently building a REST API. All GET methods currently use JSON as response
I'm building a REST API, but I've encountered a problem. It seems that accepted
I've been building out my REST services based on the WCF REST templates you
I'm new to REST and I'm building a service using the WCF REST Starter
I'am building a Rest server with aspectj. For synchronization i want to use aspects.
We are building a rest service and we want to use OAauth 2 for
I've been looking into building a REST api using the Azure SDK for node
Im building Phonegap application that uses token authentication strategy to access rest services. Is

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.