Heloo ,
I am stuck in this error while generating Pdf from HTML using ABCPdf8 my code is
Dim PdfDocument As New WebSupergoo.ABCpdf8.Doc()
Dim PdfId As Integer
PdfDocument.Page = PdfDocument.AddPage()
PdfId = PdfDocument.AddImageHtml(HTML) // Crash over here
PdfDocument.Transform.Translate(0, -10)
While True
If Not PdfDocument.Chainable(PdfId) Then
Exit While
End If
PdfDocument.Page = PdfDocument.AddPage()
PdfId = PdfDocument.AddImageToChain(PdfId)
End While
For index As Integer = 0 To PdfDocument.PageCount Step 1
PdfDocument.PageNumber = index
PdfDocument.Flatten()
Next
If PdfDocument.PageCount > 1 Then
PdfDocument.PageNumber = 1
End If
Same code is working fine on local machine and also on different environment but not working when i deploy it on live as well on some machines also. i have tried all the permission related fixes but not working in my case.
Can any body help me in this ??