Take the 2-minute tour ×

I've just finished a web application using MVC 3, NHibernate and Fluent NHibernate. All references have been downloaded using the package library. The application is working just fine on my computer. I've published it and uploaded everything, including all the dlls to my web server on godaddy. But when I try to access it gives me the following error:

Could not load file or assembly 'NHibernate, Version=, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The module was expected to contain an assembly manifest.

share|improve this question
Did you try all of this? -> stackoverflow.com/questions/4825122/… –  mawburn Jul 4 '12 at 1:28
Here's a checklist of things to try: [Error loading one of the NHibernate dependent dll's][1] [1]: stackoverflow.com/questions/6911792/… –  Fellmeister Jul 4 '12 at 1:29
I don't think it's related with the medium trust environment issue. I've also tested using NHibernate 3.3, which supports medium trust environment, and got the same error. –  Jobert Sá Jul 4 '12 at 13:16
add comment

2 Answers

Go to your IIS, find the application pool of your web application, go to Advanced Settings and change Enable 32-bit application to - true.

share|improve this answer
Unfortunately GoDaddy doesn't support IIS remote management. :( But I'll consider your answer and try to build the application on a different environment. –  Jobert Sá Jul 4 '12 at 13:19
Agree with Jobert –  Blaise Jul 16 '12 at 21:37
add comment

For some reason, can you try uploading again the dlls which are causing the error. I, on my end also experienced the same problem. After uploading again the erroneous dlls, it worked!

share|improve this answer
add comment

Your Answer


