04-09-2010 08:34 AM
I ran into this in my own development. You have to have your executable marked "x86" and not "any CPU" if you are on a 64-bit Windows and want to in any way connect to the ACT! SDK, and this is not selectable/settable in the Express compilers. I found I had two choices in my situation:
- go pay for and install one of the "real" Visual Studio versions that has the feature. Visual Studio Standard 2008, or Professional or above will work. This is what I did.
- after each compile, run the CorFlags.exe tool. CorFlags yourpgm.exe /32BIT+. You will need to download one of the free .NET Framework SDKs or Windows Vista or Windows 7 Platform SDKs from www.microsoft.com to get this utility - at least that is what I had to do. The utility does not come with the Express compiler install or the base .NET Framework install.
Hope this helps.
ACT! Certified Consultant
ACT! Add-on Partner
Patricia Egen Consulting, LLC
04-09-2010 08:39 AM
Thanks for the input - on a whim (and mainly because I can't get access to full-blown studio at the moment), I downloaded the Visual Studio 2010 RC and used that to target x86, which seems to do the trick. I did find that I also had to target an earlier version of the .NET framework as well, as the early release of 4 seems to have some problems with the ACT .DLLs.
Thanks to all again for the suggestions, it got me on the right path at least, even if it would be nicer if it just worked with x64 without all the additional complications!
08-17-2010 06:09 AM
I'm having some similar problems. I am doing development for our current instance of ACT!. We have the DB installed on a server and I am doing my development on my local Win 7 machine.
I have our current version of ACT (Premium 2008 10.0.3.182, Hoftix 1) installed on my Windows XP Mode Virtual. There are no current updates available for the application, however, the DLLs that I copied over from our server reflect version 10.1.199.0.
I am getting the ProductVersionMismatchException when trying to connect to the DB in debug.
Any thoughts on
a) What is causing the error?
b) What I can do to resolve?
08-17-2010 09:21 AM
I no longer have a 2008 version installed, but I still had the GAC folder laying around on my desktop. The version # for Act.Framework appears as 10.3.182.0, might want to check the version that's installed on the server and see if it matches the version your developing against.
Also be sure the targeted CPU is x86.
11-23-2010 09:49 AM
In vb express 2008 you can target x086 by editing the .vbproj file in notepad.
Just above the first
Presumably you do something similar in c#.net
And, oh I was glad when I worked out that was the problem.
Now, why won't log in?!