You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-12-03 20:42:21 -08:00 <:1> [ERR] Error in SaveLibrary: "The type initializer for 'MuPDF.NET.Document' threw an exception." (at LibraryService.LibraryService+<SaveLibrary>d__30.MoveNext())
System.TypeInitializationException: The type initializer for 'MuPDF.NET.Document' threw an exception.
---> System.TypeInitializationException: The type initializer for 'MuPDF.NET.Utils' threw an exception.
---> System.TypeInitializationException: The type initializer for 'MuPDF.NET.ColorSpace' threw an exception.
---> System.UnauthorizedAccessException: Access to the path 'C:\windows\system32\mupdfcpp64.dll' is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.Create(String path)
at MuPDF.NET.Utils.LoadEmbeddedDll()
at MuPDF.NET.ColorSpace..cctor()
--- End of inner exception stack trace ---
at MuPDF.NET.ColorSpace..ctor(Int32 type)
at MuPDF.NET.Utils..cctor()
--- End of inner exception stack trace ---
at MuPDF.NET.Utils.InitApp()
at MuPDF.NET.Document..cctor()
--- End of inner exception stack trace ---
From the call stack, it looks like you're trying to LoadEmbeddedDll, which is then trying to Create a file within C:\windows\system32, which would require admin privileges. Is this what you intended?
The text was updated successfully, but these errors were encountered:
I'm trying to access all the text in my pdfs via the following (using MuPDF.NET 2.1.2):
However, I'm getting an error from the package. I
From the call stack, it looks like you're trying to LoadEmbeddedDll, which is then trying to Create a file within C:\windows\system32, which would require admin privileges. Is this what you intended?
The text was updated successfully, but these errors were encountered: