AdaptiveRenderEngine Unhandled ケース:修正

This article was translated from English: Does it need improvement?
Translated
View the article in English
{
"message": "Unhandled case for AdaptivePdfRenderer.DetectActiveRenderingEngine",
"exceptionType": "System.ArgumentException",
"exceptionDetail": "Unhandled case for AdaptivePdfRenderer.DetectActiveRenderingEngine",
"modelState": null,
"propertyErrorList": null
}

この稀な例外は、通常、IronPdf.EAP パッケージが廃止された状態で、レガシーバージョンの IronPDF を使用しているユーザーに発生します。

考えられる原因

エラーは通常、特定のプラットフォームにデプロイされたプロジェクトの実行時に発生します。特に、Linux環境でホストされているC# Web APIプロジェクトでよく発生します。 これは、IronPdf.EAPパッケージからのランタイムファイルのデプロイに関する問題が原因である可能性があります。

ソリューション

この問題を解決するには、IronPdf パッケージの最新バージョンにアップグレードし、IronPdf.EAP パッケージの使用を中止してください。これは非推奨であり、もはやメンテナンスされていません

さらなるサポートが必要な場合は、エンジニアリングリクエストを提出してください。