IronSoftware 中全域路徑存取被拒絕
This article was translated from English: Does it need improvement?
TranslatedView the article in English
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()app
--- End of inner exception stack trace ---
at ?.?[?]()
at ?.?()問題概要
上述錯誤表明拒絕存取路徑"Global\IronSoftwareDeploymentGlobal"。 舊版的 IronPDF,特別是 2021.11.4257 或更早版本,可能會出現此問題,這是由於使用了 WebKit PDF 渲染引擎和本地程式碼中相關的互斥方法所致。
可能原因
這個問題源自於 IronPDF 庫中所使用的全域互斥鎖的權限問題。 這個互斥鎖是 IronPDF 基於 WebKit 的渲染引擎內部實作的一部分。
解決方案
若要解決此問題,請將 IronPDF 升級至2021.12.4401或更高版本。 在這些新版本中,有問題的互斥鎖已被移除。
如果升級後問題仍然存在,請聯絡我們的工程支援部門進行進一步調查和協助。
準備好開始了嗎?
Nuget 下載 17,012,929 | 版本: 2025.12 剛剛發布






