Product: PDFTron 9.3 SDK and HTML2PDF module
How i can run the module Html2PDF in Azure Web App Service?
I deploy the sample and i always have this error when i use HTML2PDF.convert
Could not load file or assembly ‘html2pdf_chromium’ or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) at System.Web.Compilation.BuildManager.ExecutePreAppStart() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) Could not load file or assembly ‘html2pdf_chromium’ or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
There is the return of GetHTTPErrorCode():
0[0727/154738.042:WARNING:resource_bundle.cc(448)] locale_file_path.empty() for locale \r\n[0727/154738.069:FATAL:win_util.cc(814)] Check failed: false. : The operation completed successfully. (0x0)\r\nBacktrace:\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E531402+9602450]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E471DC2+8818514]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E489A95+8916005]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E48A8EC+8919676]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E48AC60+8920560]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E5597D9+9767273]\r\n\tGetHandleVerifier [0x00007FF69000D612+17125762]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68ED24F22+17940658]\r\n\tOrdinal0 [0x00007FF68CED078F+31524751]\r\n\tOrdinal0 [0x00007FF68CECF1E6+31519206]\r\n\tOrdinal0 [0x00007FF68CECF67C+31520380]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E45C26F+8729599]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E45C0F0+8729216]\r\n\tCrashForExceptionInNonABICompliantCodeRange [0x00007FF68E45BE23+8728499]\r\n\tOrdinal0 [0x00007FF68B0C1032+4146]\r\n\tGetHandleVerifier [0x00007FF693285038+70044584]\r\n\tBaseThreadInitThunk [0x00007FFAE19884D4+20]\r\n\tRtlUserThreadStart [0x00007FFAE27C1791+33]\r\n\r\nExit code: 0X80000003\nMissing output file D:/home/site/wwwroot/bin/pdftron/Trn-23292-1658936631-8f626abb-cc7c-4e07-bee2-8212a7649645