Hi,

Well, I never heard of and had this problem all this time with NHibernate.
Actually it does not seem to be related to NHibernate.
There is probably something wrong when you try to deploy your web app.
In my case all external dlls ( which includes NHibernate ) are located in a
separated directory and all references in to these dlls are marked as
'copy local'. Maybe it can solve your problem.

On Wed, Feb 11, 2009 at 2:37 PM, Anderson dos Santos Pimentel <
[email protected]> wrote:

>
> Hi. I have this strange error (almost) on a daily basis, but can't
> figure out what's causing it:
>
> Could not load file or assembly 'NHibernate, Version=1.2.0.4000,
> Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its
> dependencies. Access is denied
>
> The solution is kind of difficult because of two main factors:
> 1. The error occurs only on production environment and I can't
> reproduce it on my development environment, so I can't test and play
> around with configuration settings without causing even more trouble
> to the users;
> 2. It seems to occurs randomly.  Usually the first user that access
> the application (ASP.NET) that day triggers the error that can be
> solved only by running 'iisreset' on the server, but some days the app
> is OK during all day long.
>
> I've found something very similar on the following link, but with no
> solution either:
> http://bytes.com/groups/net-asp/566517-access-denied-nhibernate
>
> Any help would be appreciated.
>
>
> Thanks in advance,
>
>
> Anderson
>
> >
>


-- 
Humberto C Marchezi
---------------------------------------------------------
Master in Electrical Engineering - Automation
Software Consultant and Developer
at the Town Hall of Vitória

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to