06-11-2009 12:21 PM
I'm trying to programatically log into an ACT version 10 database and I'm getting ProductVersionMismatchException. I know there's already a thread for this problem and the solution therein does not work for me. I have checked my references and imports and still no luck. Incidently, the LicenseManager object returns the following:
'ActFwk.LicenseManager.SerialNumber.ToString()) = ""
'ActFwk.LicenseManager.ProductTier.ToString = "BASIC"
'ActFwk.LicenseManager.GetSerialNumbers.Length.ToString = 0
'ActFwk.LicenseManager.State.ToString = "NONE"
Here is the code I am using:
Private ActApp As ActApplication 'Reference to the ACT! Application
Private ActFwk As New Act.Framework.ActFramework
ActFwk.LogOn("C:\ACT\Act 2008\ActDataBase1.pad", "actuser", "")
If anyone has a clue as to how I might resolve this, it would be much appreciated. Thanks!
06-11-2009 02:48 PM
I just solved this issue. It turns out I had "Copy Local" set to True for all my act references, when "Copy Local" should have been set to False to force the pulling of the references from the GAC. Sigh.