views:

33

answers:

1

In this question a user replied that he was able to override the security settings on a shared host. I'm using the same host, but haven't been able to figure out how to change web.config to allow reflection. Is it a one-liner?

I'm using MVC + Nhibernate in my project, but I can't even get an Mvc "new project" template site to work, I suppose the problem is reflection.

+1  A: 

Try adding the following line to your web.config:

<system.web>
    <trust Level="Full" />    
</system.web>

Note, however, that the section might be locked by machine.config.

SLaks