|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
We have been using EO.Total 2013 for several years with no problems. We recently upgraded our servers from 2012 to 2016 so it appears we need to upgrade EO.Total to the latest version. I downloaded the latest version and attempted to test but I get this message -
"Convertion failed. Failed to resolve LoadLibrary and GetProcAddress"
Seems I should be getting a pdf doc with the watermark since we have not paid for the new software yet.
I tried using the old license key and also tried commenting out the license key in global.asax.
I suppose I need a new license key but I don't want to pay until I have tested successfully. What is the procedure for testing?
Anything else I should look at in my setup?
Thanks, John
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
Make sure you do NOT apply your old license key. If you do not apply the license key at all, it will proceed to the trial mode and add watermark. However if you apply the "wrong" license key, you will get an exception.
Please feel free to let us know if you still have any problems.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
I tried it with and without the old license key. Do I need to remove the old license key from the registry? Or some place other than global.asax?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Ah. It's my mistake. The error message was not caused by license. Please try to enable EO Worker process: https://www.essentialobjects.com/doc/common/eowp.aspxIf your application is a standalone application (not a web application), you can also simply copy eowp.exe from the installation folder to the same location as your main exe file. That will have the same effect as setting EnableEOWP in code. Note that this only works with the latest build. If you are trying any earlier build, you would need to set EnableEOWP explicitly in code. To verify whether this option was correctly enabled, you can check the child process created by your application in task manager. If this option is not enabled, the child processes would be rundll32.exe, otherwise it will be eowp.exe or eowp.x.x.x.x.exe, where "x.x.x.x" should be the version of the DLL you use. Please let us know if this resolves the issue for you. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
Hi,
Thanks for your quick response.
I tried adding this line of code but still get the same error message - EO.Base.Runtime.EnableEOWP = true;
I tried adding the code in global.asax and also in my web service right before I called this line of code - EO.Pdf.HtmlToPdf.ConvertHtml(Html, PathToFile);
Regards, John
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
Please try to use task manager to verify whether it has been enabled correctly. If eowp.exe has been enabled correctly, you should see "eowp.exe" in your process list. You can also try to copy eowp.exe into your application's bin folder and see if it works for you. Make sure you restart IIS after you try that.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
I do not see eowp.exe in the task manager. I tried adding that file to my bin directory but it is still not in the process list. I restarted IIS. Still no go. What should I try next?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Setting EnableEOWP to true explicitly will guarantee eowp.exe --- if that does not work for you, then it's almost certain that the code that set EnableEOWP is not called, or is called too late. So you should check that. You should call it in your Global.asax inside Application_Start handler. You can easily test whether that code path is hit by explicitly throw an exception in your code, in that case if the code is hit, you will see an exception.
If that still does not resolve the issue, we will need to take a look of your system in order to determine the root cause. In that case we would need RDP access to your system in order to investigate further.
|
|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
You are absolutely correct. My Application_Start function is not firing. Looking for a solution to that now. I welcome any input you may have on this topic.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
Ok. I verified that app_start is running. I set a break point at "EO.Base.Runtime.EnableEOWP = true;" in app_start and confirmed that the code executed.
I'm out of ideas. The machine I am working on is behind a firewall. Not sure if you can RDP in. Can we give it a try?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Sure. You can PM us the credentials we will be happy to see if we can connect.
|
|
Rank: Newbie Groups: Member
Joined: 1/14/2019 Posts: 7
|
I figured out the problem. Dumb mistake on my part...
Seems that my web project was still referencing the old EO.Pdf rather than the new one. I originally cleared out all the old dlls and referenced the new ones but somehow the new EO.Pdf didn't go through. When I checked the referenced versions I realized what the problem was. Thanks for all your support on this.
I will purchase a new license. As I mentioned, we have been using the 2013 version for a while. Is there an license upgrade or do I have to pay the full price for the new license?
Thanks, John
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Glad to hear that you found out the root of the problem. Unfortunately you will need to pay the full price in order to use the current version. We do provide upgrade discount for past purchases but the discount is based on how old your version is and it only goes back for 3 years. Your version is much older than 3 years so it does not qualify any upgrade discount. Sorry about it!
|
|