PDFium 종속성 오류 해결
Google PDFIUM은 IronPDF 핵심 코드의 필수 구성 요소로, PDF 편집 및 PDF 문서를 이미지로 변환하는 것과 관련된 다양한 기능에 사용됩니다. 프로젝트 폴더에 PDFIUM 바이너리가 없으면 런타임 중에 다음과 같은 오류가 발생합니다.
Unhandled exception. IronSoftware.Exceptions.IronSoftwareDeploymentException: Error while deploying Pdfium for IronPdf: 'Unable to locate 'IronPdfInterop'
일반적으로 프로젝트에 IronPdf.Native.PdfModel 패키지를 설치하면 문제가 해결됩니다.
Windows에서는 대상 운영 체제에 Visual C++ 런타임이 설치되어 있는지 확인하는 것이 좋습니다.
그래도 문제가 해결되지 않으면 어떻게 해야 할까요?
그래도 문제가 해결되지 않으면 저희가 도와드리겠습니다. 호환성은 저희 엔지니어링 팀의 최우선 과제입니다. 버그 신고는 이메일로 보내주세요.support@ironsoftware.com . 모든 호환성 문제는 선임 엔지니어가 심층적으로 검토할 것입니다.
배포할 운영 체제/플랫폼에 대해 꼭 알려주세요. 특히 AWS나 Azure 같은 클라우드 플랫폼인 경우에는 더욱 중요합니다.
IronPDF 에서 네이티브 로깅을 활성화하는 방법
버그 보고서에 로그 파일을 첨부하면 문제를 파악하고 신속하게 해결할 확률이 두 배 이상 높아집니다.
(2021.3.1 이후 모든 버전) IronPDF 메서드를 실행하기 전에 이 코드를 코드 맨 위에 배치하십시오.
// 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에 의해 생성된 로그 파일은 DLL이 배포된 프로젝트의 /bin 디렉터리에 있습니다:
default.log(배포 프로세스)cef.log(렌더링)IronSoftwareCefSubprocess.log(렌더링 & 스레딩)IronSoftwareEngine.log("PDF 생성 중 오류 발생..."으로 시작하는 예외 디버깅에 유용합니다)
클라우드 서버는 종종 로그 파일을 저장하는 특정 위치를 가지고 있습니다. Azure 및 AWS 에서 로그 파일을 생성하는 방법에 대한 가이드가 있습니다.

