Не удалось запустить режим совместимости IE: не удалось выгрузить win inet .dll - PullRequest
0 голосов
/ 21 февраля 2020

Мое веб-приложение выдает ошибку ниже для загрузки в PDF функциональность. Мы используем ABCPdf.dll 8-й версии для загрузки PDF. То же приложение работало с последних 2-3 лет, но внезапно на промежуточном сервере оно перестало работать и показало ошибку ниже.

Я сделал резервную копию того же кода и развернул его на локальном IIS, но там он работает нормально. также тот же код на рабочем сервере работает нормально. Изначально это выглядело как проблема win inet .dll, но я не уверен, как это исправить.

Ссылка на изображение

Ошибка:

Server Error in '/' Application.
Failed to initiate IE compatibility mode: Failed to unload wininet.dll.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: WebSupergoo.ABCpdf8.Internal.PDFException: Failed to initiate IE compatibility mode: Failed to unload wininet.dll.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[PDFException: Failed to initiate IE compatibility mode: Failed to unload wininet.dll.]
   WebSupergoo.ABCpdf8.Internal.IECompatibility.Activate() +131
   WebSupergoo.ABCpdf8.Internal.IECompatibility.Prepare() +132
   WebSupergoo.ABCpdf8.Internal.MSHtml.DocAddMSHtml.AddUrl(Doc doc, String url, Boolean paged, Int32 width, Boolean disableCache, String& err) +66
   WebSupergoo.ABCpdf8.Doc.AddUrl(String url, Boolean paged, Int32 width, Boolean disableCache) +86
   WebSupergoo.ABCpdf8.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache) +78
   WebSupergoo.ABCpdf8.Doc.AddImageUrl(String url) +67
   Nissan.Web.Utilities.AbcPdfHelper.FillDocWithFile(Doc doc, String path, String orientation, String isDashboard) +249
   Nissan.Web.Utilities.AbcPdfHelper.Convert(String[] files, String orientation, String newName, String isDashboard) +443
   Capella.Web.Site.Tools.HtmlFilesToPdf.Page_Load(Object sender, EventArgs e) +241
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3535.0
...