Hi, Our team has been having issues with DataObjects.NET licenses. The problems started about a week ago, and each day one more developer would encounter the problem. We use two different versions of DataObjects.NET in two different product / version branches, one uses 4.4.2 and the other uses 4.5.3. When attempting to build solutions using the 4.4.2, we get a licensing error. I assume this is due to the hardware IDs for our machines changing due to our recent (in-place) upgrades to Windows 8 (the message we got was something along the lines of "Hardware Key Invalid"). We've managed to work around the issue by deleting our Program Data\DataObjects.Net files and reactivating our licenses, but in doing so we've encountered another annoyance / error: if the license manager from 4.5.3 manages to automatically register and take out a hardware lock, it does so against v4.5, and the solutions that use 4.4.2 will refuse to build. Once a hardware lock is registered we are not allowed to delete them or modify the version they are for through the admin interface, so such users are stuck not being able to build against 4.4.2. However, if we manually create the hardware lock against the older version, download the key and install it manually, we have no problems and can build against 4.4.2 and 4.5. Is there a reason we're not allowed to delete or modify hardware locks through the admin interface? Do you think it's safe to automatically register a non-backward-compatible lock when using a new version for the first time? (As an aside, we only had one developer unlucky enough to get locked out due to a 4.5-locked registration, and your support team has already fixed that for us). |
Hello Matthew, let me clarify current situation with license activation. DO 4.4 takes MAC address of network adapters into account when calculating hardware id. This breaks DO when you switch on VPN networks for example, because adding virtual network adapter is considered changing hardware. To resolve this MAC addresses are not longer used since DO 4.5. Some users (like your team) might need to use 4.4 and 4.5+ side-by-side. To make this possible license manager from newer versions of DO stores hardware locks separately. Also it uses separate API of a license server. You can inspect all installed licenses in %ALLUSERSPROFILE%\DataObjects.Net. Typically it's C:\ProgramData\DataObjects.Net:
So it's generally safe to have hardware locks for both versions. Order of activation is irrelevant because they are stored independently. However you need to activate twice using different license managers. Second time you should activate only hardware lock because license is already installed. |