Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf.Html.dll should be in your application’s bin directory. Options
Kleber
Posted: Monday, March 9, 2015 4:18:04 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2015
Posts: 1
Hello everybody,

I've been getting the error below when calling this method:
HtmlToPdfResult result = HtmlToPdf.ConvertHtml(fileContent, fullFilename);

Can not find file 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\ee3bd7ab\1bb7b5b9\assembly\dl3\cb790cf1\241ae297_1730d001\EO.Pdf.Html.dll', this file is needed to perform HTML to PDF conversion. Please make sure this file exists in the same directory as EO.Pdf.dll. For example, for an ASP.NET application, both EO.Pdf.dll and EO.Pdf.Html.dll should be in your application’s bin directory.

That's not my problem, I know how to solve it.
Obviously, this is happening because EO.Pdf.Html.dll is not in the bin folder.

I have two problems with this requirement:
Firstly, the company I work does not include bin folder in subversion. So, when someone decides to clean the bin folder in the server, the conversion will stop working. (We do not intend to change that)
Secondly, the method exists in a class library and it is being called from 3 websites. I have to include Eo.Pdf.html.dll in the bin folder of all websites that calls my method (if I include the file in the class library it still doesn't work)

I am using the version number: 3.0.67.2.
Is there any way to avoid this?

Has this been changed in newer versions? (I think so, because I downloaded the trial of the new version and I didn't get this message)
If so, is there a way to update the company's licence to a newer version?
eo_support
Posted: Monday, March 9, 2015 9:08:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Yes. This has been changed. The current version does not have a separate EO.Pdf.Html.dll. Everything is packed inside a single .NET DLL in the current version. So you should no longer have the problem with the current version. However most likely you would need to place an upgrade order in order to use the current version since your version is rather old. If you can PM us your order number we should be able to find out the exact cost for you.

Thanks!


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.