views:

4

answers:

0

I have a project that works fine under Visual Studio 2008 on Windows XP. I'm setting up a Windows 7 64-bit system with Visual Studio 2008 and I have found that one of my licensed controls fails its license check. On compiles I get this error:

Exception occurred creating type 'Sax.Barcodes.Barcode, Sax.Barcodes, Version=1.2.0.0, Culture=neutral, PublicKeyToken=57b9527db291dbf8' System.ComponentModel.LicenseException: An instance of type 'Sax.Barcodes.Barcode' was being created, and a valid license could not be granted for the type 'Sax.Barcodes.Barcode'. Please, contact the manufacturer of the component for more information. Licenses.licx

I have installed the Sax controls on my system and put in my serial number. It is worth noting that these controls are .Net 1.1 controls and I am switching the project to 2.0. It's also worth noting that I was able to successfully upgrade the project to .Net 2.0 on my XP system and the licensing worked fine. It seems like the Sax Barcode installer didn't set up the licensing right in Win 7 and/or VS 2008.

I tried adding the Barcode control to the toolbox but I get an error saying:

There are no components in 'C:\Program Files (x86)\Sax.net\Barcodes\Deploy\Sax.Barcodes.dll' that can be placed on the toolbox.

Any ideas how to better debug what is happening?