Rank: Newbie Groups: Member
Joined: 10/28/2013 Posts: 1
|
I have been using eo.pdf.dll in sharepoint for several weeks and now we are ready to put the site into production. I have the license key that I purchased but I am not really sure how to add it to the dll. I tried the code
Code: C#
EO.Pdf.Runtime.AddLicense("key");
directly before the call to create the pdf but that doesn't work for me either. How do I register the key with the dll. We are running the dll from the GAC and not the bin dir.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Please download the latest build from our download page and see if it works. Your license key is for version 5. So if you see your DLL version as 4.0.x.2, then it won't work. Each version requires different keys, so the license key version must match the DLL version.
Also with older builds you must call AddLicense in your app's Application_Start event handler, which is not convenient in a SharedPoint application. The new build allows you to call AddLicense anywhere. This is another reason for you to update to the latest build.
Thanks!
|