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
|
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.aspxPlease feel free to let us know if you still have any questions. Thanks!
|