Last post Dec 18, 2014 08:43 AM by Leo536
Dec 18, 2014 07:21 AM|Leo536|LINK
I have been trying to generate PDF from my HTML view. I have used RazorPDF, but I am getting this error:
Could not load type 'iTextSharp.text.html.HtmlParser' from assembly 'itextsharp, Version=220.127.116.11, Culture=neutral, PublicKeyToken=8354ae6d2174ddca'.
Can anyone please help me?
Dec 18, 2014 07:51 AM|ignatandrei|LINK
Please show stack trace and line of error( and 2-3 surrounding)
Dec 18, 2014 07:58 AM|anurajp|LINK
RazorPDF has a dependency of iTextSharp - https://www.nuget.org/packages/iTextSharp/ Hope you included it in the project.
Dec 18, 2014 08:43 AM|Leo536|LINK
I downloaded few other itextsharp libraries so it's not giving any error now. Now what's happening is it's giving a blank page. The PDF loading sign appears at the bottom but the data never loads.