IronPDF 的登錄檔支援限制

This article was translated from English: Does it need improvement?
Translated
View the article in English
Error while loading '..\libcef.dll' via Kernel32 : 'The specified module could not be found.'
Cannot Check Visual C++ Registry
System.TypeInitializationException: The type initializer for '' threw an exception.
 ---> System.PlatformNotSupportedException: Registry is not supported on this platform.

此不常見的例外情況通常發生在使用者嘗試於 IIS 上執行 IronPDF 時。

可能原因

此執行階段錯誤表示執行 IronPDF 的電腦可能缺少 Visual C++ 再發行套件。

解決方案

若要解決此問題,請在您的電腦上安裝 Visual Studio 的 Visual C++ 再發行套件

請注意對於 x64 機器,需同時安裝 x86 和 x64 版本的 Visual C++ 再發行套件。 請確保兩者均已安裝。)]

若需進一步協助,請提交工程支援請求

Curtis Chau
技術撰稿人

Curtis Chau 擁有卡爾頓大學(Carleton University)的電腦科學學士學位,專精於前端開發,並精通 Node.js、TypeScript、JavaScript 及 React。他熱衷於打造直觀且美觀的用戶介面,喜歡運用現代框架,並創建結構完善、視覺上吸引人的手冊。

除了開發工作之外,Curtis 對物聯網(IoT)抱有濃厚興趣,致力於探索整合硬體與軟體的創新方法。閒暇時,他喜歡玩遊戲和開發 Discord 機器人,將對科技的熱愛與創意相結合。

準備開始了嗎?
Nuget 下載 19,014,616 | 版本: 2026.5 just released
Still Scrolling Icon

還在往下捲動嗎?

想要快速確認成果嗎? PM > Install-Package IronPdf
執行範例 觀看您的 HTML 轉為 PDF。