abcpdf 8 .NET在w3wp进程抛出未处理的异常 [英] abcpdf 8 .net throwing unhandled exception in w3wp process

查看:164
本文介绍了abcpdf 8 .NET在w3wp进程抛出未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用ABCPDF.net 8创建HTML内容的PDF文件。

I'm trying to use ABCPDF.net 8 to create a pdf from html content.

在使用该方法AddHtml,这工作正常。

When using the method AddHtml, this works fine.

不过,我需要的款式也一样,所以我需要使用AddImageHtml。但是,使用这种方法会导致w3wp进程抛出异常。当我通过code与反射器调试例外,似乎都在不同的地方,让我觉得这也许是某种记忆的事情......(不错,具体的,我知道)。

However, I need to take in the styles too, so I need to use AddImageHtml. But using this method causes the w3wp process to throw an exception. When I debug through the code with Reflector the exception seems to come at different places, making me think it is maybe some kind of memory thing... (nice and specific, I know).

我的abcpdf code很简单,只要...

My abcpdf code is as simple as...

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

doc.AddImageHtml(test);

......,我做这在页面呈现。

...and I'm doing this in the page render.

任何人有abcpdf的抛出一般异常的w3wp进程的经验吗?

Any one had any experience of abcpdf throwing generic exceptions in the w3wp process?

推荐答案

我觉得这事做的事实,我已经安装IE9 - 当我切换abcpdf使用Gecko渲染引擎,一切正常...

I think this has something to do with the fact that I have IE9 installed - when I switch abcpdf to use the Gecko rendering engine, everything works...

这篇关于abcpdf 8 .NET在w3wp进程抛出未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆