Iron Software 中發生"Global Path Access Denied"錯誤
This article was translated from English: Does it need improvement?
Translated
View 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 渲染引擎,且原生程式碼中使用了相關的互斥鎖 (mutex) 方法。
可能原因
此問題源於 IronPDF 函式庫中使用的全域互斥鎖所引發的權限問題。 此互斥鎖是 IronPDF 基於 WebKit 的渲染引擎內部實作的一部分。
解決方案
若要解決此問題,請將 IronPDF 升級至 2021.12.4401 版或更新版本。 在這些新版中,已移除了該有問題的互斥鎖。
若升級後問題仍未解決,請聯繫我們的工程支援團隊以進行進一步調查與協助。
準備開始了嗎?
Nuget 下載 19,014,616 | 版本: 2026.5 just released

