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.
FileIOPermission error
Re: FileIOPermission error
Support · Oct 27, 2008Hello,
This is a file permissions error and nothing more. This is not causing because of our product. The user account that is accessing the application (typically the ASPNET user) doe not have permissions to read/write to our dll or to the files if you are using any existing files, also you need these permissions to your destination location also.
Thanks,
ceTe Software Support Team.