I tried with:

if (System.Security.SecurityManager.IsGranted(new AspNetHostingPermission(
AspNetHostingPermissionLevel.Unrestricted)))

            {

                Response.Write("unrestricted");

            }

And it prints me Unrestricted ... I think I'm in full trust ... correct ?

I solved (for now) changing the ByteCode Provider, from Castle to LinFu ...
Any hint ?

Is somehow related to the Crypto\rsa folder permissions as in Ayende blog
post ?

Thank you very much !


Gianluca

On Thu, Apr 15, 2010 at 12:53 PM, John Davidson <[email protected]>wrote:

> You need to confirm what trust permissions are available on the production
> server. Microsoft has made it easier to run SQL Server in medium trust than
> other RDBMS, but it can be done if you are able to revise the permission
> set.
>
> Other changes required can be found
> http://nhforge.org/wikis/howtonh/run-in-medium-trust.aspx
>
> John Davidson
>
>
>  --
> 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.
>



-- 
Gianluca Gravina
http://blogs.ugidotnet.org/thinkingingrava

-- 
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