We're using IronPDF to change a dynamic HTML string into a PDF. In localhost, dev and test environments, it works without a problem. However, in our QA environment, we get the following error:
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 ?.?()
I do not believe it is a problem with the code because it works in some environments, so I have not provided code. It's an unauthorized access error, so I'm guessing something needs permissions, but I cannot find the Global\IronSoftwareDeploymentGlobal path anywhere.