Based upon the very useful information provided by jockesoft in an earlier post, I'm using the latest version of iTextsharp with nopCommerce v1.9 running in medium trust.
I took the latest version of iTextsharp (version 5.1.2) and compiled it using VS2010 for medium trust (using the change to the suggested assembly settings). (The project had to be upgraded to VS2010).
I then updated the PDFHelper using jockesoft's example code with a few changes due to v1.9 of nopCommerce using IoC containers.
If this of use to anyone else, let me know and I'll post the code and more detailed instructions if required.
1) Download iTextSharp v4.1.6 source 2) Add the following to AssemblyInfo.cs
[assembly: AllowPartiallyTrustedCallers()]
3) Rebuild iTextSharp in VS but where can i get Nop.BusinessLogic.. is it in nocommerce 2.80? if yes, there is no files with that name please anyone help me..