|
Rank: Member Groups: Member
Joined: 7/16/2012 Posts: 13
|
EO.Pdf version number: 4.0.23.2 I am setting trigger mode just before I call convert URL
Code: C#
HtmlToPdf.Options.TriggerMode = HtmlToPdfTriggerMode.Manual;
HtmlToPdfResult result = HtmlToPdf.ConvertUrl(url, doc);
I call convert() from javascript in the page called in the url variable.
ConvertUrl hangs every time. If I set trigger mode to Auto and replace
with
Code: JavaScript
document.write("EO.Pdf version number: " + eopdf.getVersion());
I see the version number being correctly written to the page. Am I missing something? Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You have a rather old version. Can you try the latest build from our download page and see if it resolves the issue for you?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/16/2012 Posts: 13
|
We only have a licence for EO.Pdf 2012, which matches the same version as the one we are using.
I get a licence error when referencing the 6.0.21.2 version in the EO.Total directory.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You can try version 6.0.21.2 without the license code. This is just a test to help narrowing down where the problem might be. We offer free one year upgrade, so we can give you version 5 (EO.Pdf 2013) if the latest build works for you.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/16/2012 Posts: 13
|
That worked thanks, how do I go about getting version 5?
Cheers.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Please see your private message for the download location for version 5.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/16/2012 Posts: 13
|
This doesn't appear to be working in EO.PDF 5.0.50.2, it just goes back to hanging on the ConvertUrl call.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, We tested this version and it seems to work fine. So you may want to check your code again. If you can isolate the problem into a test project, we can also take a look and see what we can find. Please see here for instructions on sending test project: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 7/16/2012 Posts: 13
|
All good, I was calling ConvertHtml in my code after the initial ConvertUrl, which was the point at which it hung.
Setting the TriggerMode to Auto after the initial ConvertUrl fixed the issue.
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
That makes sense. Thanks for the update!
|
|