It is not specific to a newer version of windows. In fact my environment is server 2003. The group who will be hosting the code wants our application to run under Medium trust which basically restricts which resources the code has access to. "Partial Trust" means anything that isn't Full trust.
After some reading, it appears that the newer versions of IKVM have added experimental support for partial trust. So rebuilding the pdfbox DLL using the newer version of IKVM may solve my problem. Before I dive into that, I was wondering if there was any guidance online about building the pdfbox dll. So far I just found something on the site saying it was best not to try and build your own. Any information anyone could provide would be extremely useful. On Mon, Jan 25, 2010 at 5:04 PM, Daniel Wilson < [email protected]> wrote: > Sorry, I don't understand the "partial trust" issue. I've been away from > Windows administration for a few years now. > > Is that specific to Windows Vista / 2008? Or am I misunderstanding > entirely? > > As far as the creation of the .Net code for PDFBox, IKVM handles that. If > there are compiler settings associated with it, you might check what the > corresponding IKVM switches are. > > Daniel > > On Mon, Jan 25, 2010 at 4:15 PM, James Montagne IV <[email protected] > >wrote: > > > Hi, > > > > I am attempting to PDFBox in a partially trusted environment. When I > > attempt to call PDDocument.load I recieve the following: > > > > [SecurityException: That assembly does not allow partially trusted > > callers.] > > at org.apache.pdfbox.pdfparser.PDFParser.__<clinit>() > > at org.apache.pdfbox.pdmodel.PDDocument.load(InputStream input, > > RandomAccess scratchFile) > > at org.apache.pdfbox.pdmodel.PDDocument.load(InputStream input) > > > > Is it possible to somehow use PDFBox without needing to give the assembly > > full trust? > > >

