I a using
System.Reflecti on
System.Runtime. InteropServices
System.Security .Permissions
In my web application
In this, Reflection need low thrust level to run
But I have hosted my site in a shared server.
So thrust level is high
I have tried to over ride the trust level by adding
<location allowOverride=" true">
<securityPolicy >
<trustLevel name="Full" policyFile="int ernal" />
<trustLevel name="High" policyFile="web _hightrust.conf ig" />
<trustLevel name="Medium" policyFile="web _mediumtrust.co nfig" />
<trustLevel name="Low" policyFile="web _lowtrust.confi g" />
<trustLevel name="Minimal" policyFile="web _minimaltrust.c onfig" />
</securityPolicy>
<trust level="Low" originUrl="http ://192.166.1.82/xxx.com" />
</location>
In my applications web.config
Unfortunately this became impossible since the server administrator has
Done <location allowOverride=" false"> on
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \CONFIG\web.con fig
On the server
What can I do to execute codes that need low trust level
on a server where thrust level is high
:( ;(