Welcome Guest Search | Active Topics | Sign In | Register

Problem at server Options
ManishNayak
Posted: Saturday, September 3, 2011 2:33:23 AM
Rank: Newbie
Groups: Member

Joined: 9/3/2011
Posts: 1
In local machine it works properly but on server....:(
Showing error on the server-

Can not find file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\testing\0be27e44\a54c596d\assembly\dl3\aef860e1\52df6a75_5769cc01\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.

required dll files existing in bin folder.
what is the problem....?
eo_support
Posted: Saturday, September 3, 2011 8:12:57 AM
Rank: Administration
Groups: Administration

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

Check whether the file is exactly the same version as EO.Pdf.dll. For example, if EO.Pdf.dll's version is 3.0.63.2, then EO.Pdf.Html.dll's version must also be 3.0.63.2.

If they are the same version, try to run the following code in your web application and see what happens:

Code: C#
string eoPdfDllPath = typeof(EO.Pdf.HtmlToPdf).Assembly.Location;
string eoPdfDllFolder = Path.GetDirectoryName(eoPdfDllPath);
string eoPdfHtmlDllPath = 
    Path.Combine(eoPdfDllFolder, "EO.Pdf.Html.dll"); 
if (!File.Exist(eoPdfHtmlDllPath))
    File.Copy(MapPath("~/bin/EO.Pdf.Html.dll"), eoPdfHtmlDllPath);


If that runs without error, then the file should be there.

Thanks!
Prem
Posted: Monday, October 3, 2011 7:01:29 AM
Rank: Newbie
Groups: Member

Joined: 9/19/2011
Posts: 9
Hi, i was facing the same issue.Could you please help me also ,if you find an appropriate method to solve the problem.
eo_support
Posted: Monday, October 3, 2011 7:49:14 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi Prem,

You just have to make sure the file is there.

If you continue to have problem, update both your EO.Web and EO.Pdf to the latest build (you must update both). There is nothing wrong with your version; However the latest version merged EO.Pdf.Html.dll into EO.Pdf.dll. So you will no longer hit this "EO.Pdf.Html.dll missing" problem.

Thanks!
Prem
Posted: Monday, October 3, 2011 8:00:12 AM
Rank: Newbie
Groups: Member

Joined: 9/19/2011
Posts: 9
Can please mension the link for the latest build version
eo_support
Posted: Monday, October 3, 2011 8:28:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Just download it from our download page.

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.