PDFium Bağımlılık Hatalarını Giderme
Google PDFium, IronPDF'nin çekirdek kodunun önemli bir bileşenidir ve PDF düzenleme ile PDF belgelerinin görüntüye dönüştürülmesi ile ilgili çeşitli işlevler için kullanılır. Proje klasöründe PDFium ikili dosyası yoksa, çalışma zamanı sırasında aşağıdaki hata verilir.
Unhandled exception. IronSoftware.Exceptions.IronSoftwareDeploymentException: Error while deploying Pdfium for IronPdf: 'Unable to locate 'IronPdfInterop'
IronPdf.Native.PdfModel paketini projeye yüklemek genellikle sorunu çözer.
Windows'ta, hedef işletim sisteminde Visual C++ Runtimes'ın kurulu olduğundan emin olmak da iyi bir fikirdir.
Bu da sorunu çözmezse ne yapmalı?
Bu, sorunu çözmezse, size yardımcı olmaktan memnuniyet duyarız. Uyumluluk, mühendislik ekibimiz için yüksek önceliklidir. Lütfen bir e-posta hata raporu gönderinsupport@ironsoftware.com./support@ironsoftware.com Tüm uyumluluk sorunları, kıdemli bir mühendis tarafından titizlikle incelenecektir.
Özellikle AWS veya Azure gibi bir bulut platformu ise, dağıtım yapılacak işletim sistemi / platform hakkında bize bilgi verin.
IronPDF'de Yerel Günlüğü Etkinleştirme
Bir hata raporuna Log Dosyaları eklemek, sorunu tespit edip hızlı bir şekilde çözme olasılığımızı iki katından fazla artırır.
Bunu, herhangi bir IronPDF yöntemini çalıştırmadan önce kodunuzun en üstüne yerleştirin (2021.3.1'den sonraki tüm sürümler).
// 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(Rendering)IronSoftwareCefSubprocess.log(Rendering & Threading)IronSoftwareEngine.log("...'dan PDF oluşturulurken hata oluştu" ile başlayan istisnaları hata ayıklamak için kullanışlıdır)
Bulut Sunucularında genellikle günlük dosyaları için belirli konumlar bulunur. Azure ve AWS'de günlük dosyaları oluşturmaya yönelik kılavuzlarımız mevcuttur.

