I'm jumping into this a little late so I have missed some of the previous posts, but if you did not build this via the source and just downloaded the assemblies themselves, you might need to check the file properties on the assemblies and make sure that in the bottom right corner the Unblock button does not exist.
If it does, this may be why you are receiving this error. This is a windows security feature since vista for files that are downloaded from the web and could potentially be harmful, like exes, dlls and other scripts. Try clicking the Unblock button and see if that fixes it for you. I have run into a similar issue before and that did the trick. I have also seen cases where you click the unblock button in the file properties and it still does not unblock the file. If that is the case for you my only suggestion to get you up and on your feet would be to build the source yourself. Mike -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of tqwhite Sent: Friday, March 05, 2010 3:58 PM To: nhusers Subject: [nhusers] Re: But it IS an embedded resource and sometimes I build it Twice!! Plus, Security Exception, arrgh Also, I note that the system complained that I had not included a reference to Lin Fu but did not complain that I had not provided a reference to Castle, even though I see Castle in the same directory (for lazy loading) as Lin Fu. Any meaning to that? tqii On Mar 5, 10:28 am, John Davidson <[email protected]> wrote: > the link below shows how to change trust levels in IIS7 > > http://technet.microsoft.com/en-us/library/cc753658(WS.10).aspx > > John Davidson > > > > On Fri, Mar 5, 2010 at 9:50 AM, Richard Wilde <[email protected]> wrote: > > >I remain lost on the Security Exception but, thanks again for your > > >help. > > >tqii > > > From an earlier email I seem to recall that you put <trust level="Medium" > > ... /> in your web.config. > > This is going to cause you problems with NH, lazy loading and maybe several > > other things, so I would take this out of the web.config > > > If you are going to deploy the application on a shared environment that > > uses > > Medium Trust then obviously you will need the trust level. However I don't > > think NH likes this too much! > > > Rippo > > > -- > > 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]<nhusers%[email protected] > > > > > . > > For more options, visit this group at > >http://groups.google.com/group/nhusers?hl=en. -- 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. -- 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.
