Developer forum

Forum » Development » ABCpdf and license

ABCpdf and license

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

We are in the process of buying a Standard License to ABCpdf 11 from WebSuperGoo. How will this work with the existing version 9 of ABCpdf in Dynamicweb 9.3.10?

Can they coexist or do we risk breaking things up?

--
Best regards
Kurt Moskjaer Andersen


Replies

 
Nicolai Pedersen
Reply

Hi Kurt

That is a good question. Usually the api works side by side and if you inject your license key, that would also be used by Dynamicweb - I think. cannot promise. You would have to test it out.

BR Nicolai

 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Well, I've tried it now and DW complains about the ABCpdf.dll file not being the correct version (9.1.1.5), but instead version 11.1.0.2

I've updated the packages.config file in the Application-directory and recycled the applicationpool, but without any luck.

/Kurt

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Kurt

If you read the exception it might give some indications. You can redirect assembly versions in web.config:

https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions

Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi Nicolai,

It works like a charm. I added the following to my web.config file:

      <dependentAssembly>
        <assemblyIdentity name="ABCpdf" publicKeyToken="a7a0b3f5184f2169" culture="neutral" />
        <bindingRedirect oldVersion="9.1.1.5" newVersion="11.1.0.2" />
      </dependentAssembly>

Thanks :)

/Kurt

 

You must be logged in to post in the forum