gpt4 book ai didi

.net - abcpdf 和 XULRunner 失败或临时浏览器配置文件目录错误

转载 作者:行者123 更新时间:2023-12-01 18:38:20 25 4
gpt4 key购买 nike

升级到最新版本 ABCPDF 10.0.1.0 时,我似乎无法弄清楚此错误消息。错误消息是否提供了任何线索?它会突然发生,重新启动应用程序池是立即修复它的唯一方法。

WebSupergoo.ABCpdf10.Internal.PDFException: Failed to add HTML: Gecko engine failed to initialize. Possible causes: XULRunner folder not found or failure to create temporary browser profile directory.
at WebSupergoo.ABCpdf9.Doc.AddUrlHtml(String urlOrHtml, Boolean isHtml, Boolean paged, Int32 width, Boolean disableCache)
at WebSupergoo.ABCpdf9.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache)
at WebSupergoo.ABCpdf9.Doc.AddImageUrl(String url)

我的进程日志显示了此类条目。

"1:46:21.9863465 PM","ABCGeckoWP.exe","4052","CreateFile","C:\Windows\Temp\ABCpdf\ABCGecko\wq3tvwof.2uc","NAME NOT FOUND","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a"
"1:46:21.9865561 PM","ABCGeckoWP.exe","4052","CreateFile","C:\Windows\Temp\ABCpdf\ABCGecko\wq3tvwof.2uc","NAME NOT FOUND","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a"

最佳答案

似乎修复 tempPdf.HtmlOptions.EndTasks(WebSupergoo.ABCpdf10.TaskState.AllWhenBecomeIdle); 并不是真正的修复,甚至会导致一些性能下降。我继续删除了 try/catch 并恢复到旧版本的 ABC PDF,直到这个问题得到解决。这个版本可能不应该发布,而且他们在发布之前也知道这个问题。

关于.net - abcpdf 和 XULRunner 失败或临时浏览器配置文件目录错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30315604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com