Rank: Member Groups: Member
Joined: 2/26/2009 Posts: 19
|
Hi, We have been using this library for over 12 years(?). We use the pdf library in many products. Some web asp.net & mvc forms and some commandline. Recently we upgraded from 23.2.65 to 25.0.86. It is working in the web products, but the command line is giving a "The URL is invalid" error, whereas it worked in the previous version. NOTE: there is no url in the html. I've tried just giving it <html><html> and it still gives the same error, so I think it has something to do with the fact that it is commandline. It is .net 4.8 and running with admin permissions.
Initially, after upgrading, we did have issue with our firewall blocking the eoweb.dll, but that was unblocked.... just giving you any information that I think might be useful as I'm out of ideas myself.
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,312
|
Hi, How do you exactly call HtmlToPdf.ConvertHtml? Can you isolate the problem into a small test application and send the test application to us? See here for more details: https://www.essentialobjects.com/forum/test_project.aspxOnce we have that, we will look into it and see what we can find. Thanks!
|
Rank: Member Groups: Member
Joined: 2/26/2009 Posts: 19
|
In creating sample program I found what the issue/difference is in the versions. Previously it was ok to specify an empty string as a BaseUrl, but now if you do it will complain about the URL. However, if you leave it as null, it will work fine.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,312
|
Thank you very much for the additional information. We will fix this in our next build so that you will be able to specify empty string as BaseUrl again.
|