Rank: Newbie Groups: Member
Joined: 7/9/2021 Posts: 1
|
Hi Team, We are getting an exception "Failed to start image manager" while trying to convert html to pdf.
This only happens when we're using EO.pdf in a .Net web api application without using eowp.exe (child process) But it works perfectly fine with a .Net console application , also without using eowp.exe
(Note: we have explicity removed the eowp.exe)
Can you please let us know how can we solve this?
P.S : dll added to the project are EO.Base, EO.Pdf, EO.WebBrowser, EO.WebEngine
With Kind Regards, Ankit Surana
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
In that case you probably should use eowp.exe instead. EO.Pdf must start child processes to run the native browser engine. This child process is started either using eowp.exe or Windows' own rundll32.exe. However depending on your system settings, using rundll32.exe may not be possible. For example, if your system administrator explicitly denies your application read permission to "system32" directory, then obviously your application won't be able to "see" rundll32.exe, thus unable to use it. In that case using eowp.exe becomes the only option.
You should also try to update to the latest version and see if it works for you. Windows changed a number of things over the year, so our early versions can not use rundll32.exe properly on newer Windows (or with newer Windows update patches). In that case updating the latest build should resolve the issue for you.
Thanks!
|