Author: pratik1979 | Posted on: 5/25/2010 12:12:27 PM | Views : 321

Hi Everyone,


I am recently trying to set enough permissions to let web application write entries in System's "Event Log" .The following are the lines of code i added in web.config files:


<securityPolicy >
            <trustLevel name="Full" policyFile="internal" />
            <trustLevel name="CustomMedium" policyFile="customWeb_mediumtrust.config"/>
</securityPolicy >
<trust level="CustomMedium" originUrl=""/>


And here goes the html markups inside of customWeb_mediumtrust.config:
<configuration>
    <mscorlib>
        <security>
            <policy>       &n ...

Go to the complete details ...