Abcpdf 8.net throws an unhandled exception in the w3wp process

I am trying to use ABCPDF.net 8 to create a pdf file from html content.

Using the AddHtml method this works great.

However, I also need to use styles, so I need to use AddImageHtml. But using this method causes the w3wp process to throw an exception. When I debug the code with Reflector, the exception seems to come in different places, making me think that this may be some kind of memory ... (nice and specific, I know).

My abcpdf code is as simple as ...

global::WebSupergoo.ABCpdf8.Doc doc = new WebSupergoo.ABCpdf8.Doc(); doc.AddImageHtml(test); 

... and I do this in page rendering.

Has anyone had experience abcpdf throwing general exceptions in the w3wp process?

+1
pdf-generation abcpdf
source share
1 answer

I think this is due to the fact that I have IE9 installed - when I switch abcpdf to use the Gecko rendering engine, everything works ...

+8
source share

All Articles