Welcome Guest Search | Active Topics | Sign In | Register

ConvertUrl hangs when TriggerMode is Manual Options
Lee
Posted: Monday, November 10, 2014 10:26:13 AM
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.

Code: JavaScript
eopdf.convert();


ConvertUrl hangs every time. If I set trigger mode to Auto and replace

Code: JavaScript
eopdf.convert()


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.
eo_support
Posted: Monday, November 10, 2014 10:34:08 AM
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!
Lee
Posted: Monday, November 10, 2014 10:43:23 AM
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.

eo_support
Posted: Monday, November 10, 2014 10:52:32 AM
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!
Lee
Posted: Monday, November 10, 2014 11:12:55 AM
Rank: Member
Groups: Member

Joined: 7/16/2012
Posts: 13
That worked thanks, how do I go about getting version 5?

Cheers.
eo_support
Posted: Monday, November 10, 2014 12:03:48 PM
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!
Lee
Posted: Tuesday, November 11, 2014 3:53:55 AM
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.
eo_support
Posted: Tuesday, November 11, 2014 8:50:15 AM
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.aspx

Thanks!
Lee
Posted: Wednesday, November 12, 2014 6:39:50 AM
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.
eo_support
Posted: Wednesday, November 12, 2014 9:22:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
That makes sense. Thanks for the update!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.