Registry Support Limitations in IronPDF

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.

This uncommon exception is typically encountered by users attempting to run IronPDF on IIS.

Possible Cause

This runtime error indicates that the machine where IronPDF is being executed might be missing the Visual C++ redistributable.

Solution

To resolve this issue, install Visual C++ Redistributable for Visual Studio on your machine.

Please note
For x64 machines, both the x86 and x64 versions of the Visual C++ redistributable are required. Ensure that both are installed.

If you need further assistance, please submit an Engineering Request.

Chaknith Bin
Software Engineer
Chaknith works on IronXL and IronBarcode. He has deep expertise in C# and .NET, helping improve the software and support customers. His insights from user interactions contribute to better products, documentation, and overall experience.