While trying to create document object
ceTe.DynamicPDF.Document document = new ceTe.DynamicPDF.Document();
I'm getting the following error message -
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase)
at System.Reflection.Assembly.GetName(Boolean copiedName)
at ceTe.DynamicPDF.Document..cctor()
I already gave read/write to application pool account & ASPNET to ceTe.DynamicPDF.20.dll.