How do I get past “Gecko engine crashed.;Gecko engine crashed.;Gecko engine crashed.;” error after upgrading abcPDF

痞子三分冷 提交于 2019-12-05 04:18:04

问题


I recently upgraded abcPDF from v8.1.0.7 to v8.1.1.1 (and then later from v8.1.1.1 to v8.1.1.2). After the upgrades, I got errors similar to the following whenever I tried to generate a PDF:

  • "Gecko engine failed to render the page: Gecko engine crashed.; Gecko engine crashed...;"
  • "Failed to add HTML:Gecko engine crashed.; Gecko engine crashed.; Gecko engine crashed..."

We're using the Gecko engine (instead of the default MSHTML engine) to render PDFs. We didn't get the error message until immediately after we upgraded abcPDF. This is in a .Net Framework 4.0 / C# / ASP.Net web application, hosted on 64-bit Windows Server 2008 R2.

How do I get past this error?


回答1:


Here's how I solved the problem (in case anyone out there has the same issue): I had originally installed the newer version of abcPDF without uninstalling the old version, first. To get past the error, here's what I did:

  • Uninstalled all versions of abcPDF from the server;
  • Confirmed that the GAC (c:\windows\assembly) did not contain any copies of abcPDF assemblies
  • Reinstalled the latest version of abcPDF (8.1.1.2, at time of writing)
  • Confirmed that all web.config files referenced the 8.1.1.2 version of the abcPDF assembly.

Once I did all of the above, I was able to render PDFs without errors once again.



来源:https://stackoverflow.com/questions/9692383/how-do-i-get-past-gecko-engine-crashed-gecko-engine-crashed-gecko-engine-cras

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!