Access to the path 'Global-IronSoftwareDeploymentGlobal' is denied

System.TypeInitializationException: The type initializer for '?' threw an exception. 
    ---> System.UnauthorizedAccessException: Access to the path 'Global\IronSoftwareDeploymentGlobal' is denied.
    at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, Boolean& createdNew)
    at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name)
    at ?..cctor()
    --- End of inner exception stack trace ---
    at ?.?[?]()
    at ?.?()

Issue Summary

The error above indicates that access to the path 'Global\IronSoftwareDeploymentGlobal' is denied. This problem can occur with old versions of IronPDF, specifically version 2021.11.4257 or older, due to the usage of the WebKit PDF rendering engine and the associated mutex method in the native code.

Possible cause

The issue stems from a permissions problem related to the global mutex used in the IronPDF library. This mutex was part of the internal implementation of IronPDF’s WebKit-based rendering engine.

Solution

To resolve this issue, upgrade IronPDF version to 2021.12.4401 or later. In these newer versions, the problematic mutex has been removed.

If upgrading does not resolve the issue, please reach out to our engineering support for further investigation and assistance.