Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > trustLevel

Thread Tools


Per Erik Gransøe
Posts: n/a

In an environment with a IIS shared by many users, I've decreased the
trustlevel on a site basis to all sites to trust level medium. This means
that the web apps have no access to system event logs and file io access
outside their web directory. But, argh, this also means - for some reason -
that when an external assembly containing for instance new web controls, the
load of these fails with an:

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: [Assembly Name]

If I drop the restriction, there are no problems. How can I solve this

Best regards,

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catch-21 with WMI / TrustLevel Jeff Bowman ASP .Net Web Controls 0 02-18-2007 09:08 AM
Catch-21 with WMI / TrustLevel Jeff Bowman ASP .Net Building Controls 0 02-18-2007 09:08 AM