Community
Showing results for 
Search instead for 
Do you mean 
Reply

ProductVersionMismatch error when doing LogOn from a .NET Web Core (with .NET 4.7 framework) project.

Highlighted
Copper Contributor
Posts: 189
Country: Netherlands

ProductVersionMismatch error when doing LogOn from a .NET Web Core (with .NET 4.7 framework) project.

A few years we did just this: Create a .NET Core project, but referencing the full .NET Framework because we reference the Act! framework.

This worked fine.

 

Now we want to do it again for something the API does not support (yet), with our beloved (ehrm) V21, but the probleme 

 

I've attached a zip file with a very small VS solution so you can verify it. The project 'WhyProductMismatchExceptoin" has the default 'ValuesController', and in the GET endpoint it instantiates an Act! framework with a hardcoded database and credentials, and should write a JSON representation of the Myrecord to the output. It doesn't, it crashes with a ProductVersionMismatch.

That's strange, because the DLL's are of the same version of the Act! database. 

 

Even stranger, i've added a second project in the solution 'AndWhyDoesItWorkHere', with the exact same logon-and-myrecord-JSON code in it, which it writes to the console. Works perfectly. Why?

 

 

Greetings,

ACT Certified Consultants
TendenZ
the Netherlands