PDFium Bağımlılık Hatalarını Çözme
Google PDFIUM, IronPDF'in çekirdek kodunun temel bir bileşenidir ve PDF düzenlemeyle ilgili çeşitli işlevler ile PDF Belgelerinin görüntülere dönüştürülmesi için kullanılır. PDFIUM ikili dosyası proje klasöründen eksikse, çalışma zamanında aşağıdaki hata oluşacaktır.
Unhandled exception. IronSoftware.Exceptions.IronSoftwareDeploymentException: Error while deploying Pdfium for IronPdf: 'Unable to locate 'IronPdfInterop'
IronPdf.Native.PdfModel paketini projeye yüklemek genellikle sorunu çözecektir.
Windows üzerinde, hedef işletim sisteminin Visual C++ Runtimeleri yüklü olduğundan emin olmak da iyi bir fikirdir.
Bu sorunu çözmezse ne yapmalı?
Bu sorunu çözmezse, yardım etmeye hazırız. Mühendislik ekibimiz için uyumluluk yüksek bir önceliğe sahiptir. Lütfen eposta ile hata raporu gönderin: support@ironsoftware.com. Tüm uyumluluk sorunları, kıdemli bir mühendis tarafından ciddi bir şekilde incelenecektir.
Özellikle AWS veya Azure gibi bir bulut platformuna dağıtıldıysa, hangi işletim sistemi / platforma dağıtıldığını bize bildirdiğinizden emin olun.
IronPDF'te Yerel Günlüğe Kaydetmeyi Etkinleştirme
Günlük dosyalarını bir hata raporuna eklemek, sorunu izole etme ve hızla çözme olasılığımızı iki katına çıkarır.
Herhangi bir IronPDF yöntemi çalıştırmadan önce, kodunuzun en üstüne (2021.3.1 sürümünden sonraki tüm sürümlerde) bunu yerleştirin.
// Enable debugging to generate detailed log files for troubleshooting.
IronPdf.Logging.Logger.EnableDebugging = true;
// Set the path for the log file. You can specify a directory name or a full file path.
IronPdf.Logging.Logger.LogFilePath = "Default.log";
// Set the logging mode to log all events.
IronPdf.Logging.Logger.LoggingMode = IronPdf.Logging.Logger.LoggingModes.All;
// Enable debugging to generate detailed log files for troubleshooting.
IronPdf.Logging.Logger.EnableDebugging = true;
// Set the path for the log file. You can specify a directory name or a full file path.
IronPdf.Logging.Logger.LogFilePath = "Default.log";
// Set the logging mode to log all events.
IronPdf.Logging.Logger.LoggingMode = IronPdf.Logging.Logger.LoggingModes.All;
' Enable debugging to generate detailed log files for troubleshooting.
IronPdf.Logging.Logger.EnableDebugging = True
' Set the path for the log file. You can specify a directory name or a full file path.
IronPdf.Logging.Logger.LogFilePath = "Default.log"
' Set the logging mode to log all events.
IronPdf.Logging.Logger.LoggingMode = IronPdf.Logging.Logger.LoggingModes.All
IronPDF tarafından oluşturulan günlük dosyaları, DLL'lerinizin dağıtıldığı projenizin /bin dizininde bulunur:
default.log(Dağıtım süreci)cef.log(Render)IronSoftwareCefSubprocess.log(Render & İş Parçacığı)IronSoftwareEngine.log("...dan PDF oluşturma hatası" ile başlayan istisnaları hata ayıklamak için kullanışlıdır)
Bulut Sunucular sıklıkla günlük dosyaları için belirli konumlara sahiptir. Azure ve AWS üzerinde log dosyaları oluşturma kılavuzlarımız var.

