IronPDF 中的注册表支持限制
Curtis Chau
Updated: 2025年6月10日
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.
Text
这个不常见的异常通常在试图在IIS上运行IronPDF的用户中遇到。
可能原因
这个运行时错误表示执行IronPDF的机器可能缺少Visual C++可再发行组件。
解决方案
要解决此问题,请在您的机器上安装Visual Studio的Visual C++可再发行组件。
请注意: 对于x64机器,Visual C++可再发行组件的x86和x64版本都是必需的。 确保它们都已安装。
如果您需要进一步帮助,请提交工程请求。

技术作家
Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。
...
阅读更多