I'm starting to lose hope. So many smart people helping me and I still can't make it work.
Yes, I did try the trust level in my web config but, when it didn't help, I stripped it out. Nothing works either way. This app will be deployed on a private server. I don't presently know of any limitations in my ability to change its configuration to suit the app (except for lack of skill, of course). I am running this locally right now. I have 100% control over my configuration, if only I can figure out what to do. Thanks John for that link. My copy of IIS7 is running with the a trust level of "Full (internal)". Just in case, I also tried it with "High (web_hightrust.config)". It doesn't work in either case. (I also tried it with medium, low and minimal. No dice, though the latter two told me I can't debug instead.) I also note that I a running this app out of my personal Documents directory and that I had to add IUSR and IIS_USRS to its security list before IIS7 would serve the site. 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.
