Page 1 of 1

Licence error compiling on 64 bit windows

Posted: Tue Sep 24, 2013 11:17 am
by 13049415
I'm currently using a 32 bit version of .NET TeeChart v3. This is mandatory because I need to release the application I'm developing in 32 bit only. On a 32 bit Windows compilation is ok.
Recently I had to change my development PC and now it is a 64 bit Windows 7. On the new PC I can't build the application because during compilation I receive an error stating that there was an exception while creating an instance of type Steema.TeeChart.Chart because no valid licence was found.
Of course licence is there and I had no errors or warnings during TeeChart installation. Any suggestion on how to solve this issue ?

Thanks for help,

Antonello

Re: Licence error compiling on 64 bit windows

Posted: Tue Sep 24, 2013 11:25 am
by narcis
Hi Antonello,

This might be a problem with the design-time developer license not being correctly installed in the 64-bit machine. You can check and fix it follow the instructions I posted here.

Thanks in advance.

Re: Licence error compiling on 64 bit windows

Posted: Tue Sep 24, 2013 1:10 pm
by 13049415
Hello Narcìs and thanks you for the quick response.

I've followed the steps in the post you've suggested and the result was:

1) licence file is correctly embedded
2) assembly folders are both empty
3) demo project fails to compile with same licence error
4) there's no [Steema Software] key under HKLOCAL_MACHINE\Software
5) the tool displays an error message stating "error setting registry value"

After the last result I've tried to run the tool "as administrator" even if I've administrator rights on the computer (which is Windows 7 64 bits).
This time the tool was successful and the compilation of both my application and the demo project completed with success.

thank you for your help !

Antonello

Re: Licence error compiling on 64 bit windows

Posted: Tue Sep 24, 2013 1:36 pm
by narcis
Hi Antonello,

Thanks for your feedback. This clearly indicates that the v3 installer failed to register the license in a 64-bit machine. TeeRegister tool fixes that. This has been corrected in v4 (currently 2013 version).