简体   繁体   English

为ABCPDF的IIS帐户设置代理

[英]Setting proxy for IIS account for ABCPDF

I'm currently using ABCPDF to transform HTML into PDF. 我目前正在使用ABCPDF将HTML转换为PDF。 We have a proxy and since ABCPDF internally calls MSIE under the AppPools user account, NetworkService in my case, the proxy has not been set. 我们有一个代理,并且由于ABCPDF在AppPools用户帐户(在我的情况下为NetworkService)内部调用MSIE,因此尚未设置代理。

I have tried to use Microsofts BITSAdmin tool to set the proxy for NetworkService ( bitsadmin /util /setieproxy NetworkService MANUAL_PROXY PROXY_NAME null ) However its still timing out. 我尝试使用Microsoft的BITSAdmin工具来设置NetworkService的代理( bitsadmin / util / setieproxy NetworkService MANUAL_PROXY PROXY_NAME null ),但是它仍然超时。

Anyone have any idea on how to get around this? 有人对如何解决这个问题有任何想法吗?

With AbcPdf 8+ Its much easier to just change the render engine to Geko and then it dosn't need MSIE and the output seams to much more accurate. 使用AbcPdf 8+,只需将渲染引擎更改为Geko,然后就不需要MSIE,输出接缝就可以更加准确,这将更加容易。

var theDoc = new Doc();
theDoc.HtmlOptions.Engine = EngineType.Gecko;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM