Author: ajaykumar.pv | Posted on: 12/22/2008 5:16:27 AM | Views : 315

 
iam using ITextsharp.dll in project. It's working fine in local server. But in the live server. There is permission related error.

Security ExceptionDescription: The
application attempted to perform an operation not allowed by the
security policy.  To grant this application the required permission
please contact your system administrator or change the application's
trust level in the configuration file.



Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
 
from my research, i found that the trust level should be configured in the web.config file.
Then i modified the web.config  as
<location path="mywebsiteaddress/folder" allowOverride="false">
<system.web>
& ...

Go to the complete details ...