Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf.HtmlToPdf threw an exception Options
Enma
Posted: Monday, April 20, 2020 7:57:57 AM
Rank: Newbie
Groups: Member

Joined: 8/17/2014
Posts: 6
We just buy new License.We used HtmlToPdf converter before.
After we applied new License and new EO.pdf dll on my Windows 10 PC. I got the following exception. It was always go to exception when the code reach to AddLicense code below.

EO.Pdf.Runtime.AddLicense("my Licensecode here")



{"The type initializer for 'EO.Pdf.HtmlToPdf' threw an exception."}
The type initializer for 'EO.Pdf.HtmlToPdf' threw an exception.

{"Could not load file or assembly 'EO.Base, Version=20.0.81.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' or one of its dependencies. The system cannot find the file specified.":"EO.Base, Version=20.0.81.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc"}

May I have any suggestion?
Thanks
eo_support
Posted: Wednesday, April 22, 2020 11:04:07 AM
Rank: Administration
Groups: Administration

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

This should be a version mismatch issue. Make sure you update your application reference to the new DLL and then rebuild your application. After that make sure the correct DLLs are there. You can find more information on how to update DLL reference hre:

https://www.essentialobjects.com/doc/common/refdll.aspx

Please feel free to let us know if you still have any questions.

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.