Page 1 of 1

Error deploying desktop teechart (licenses.licx)

Posted: Mon Jul 13, 2009 4:03 pm
by 15653466
Hi,

I've used the example/tutorial as suggested but i don't find it easy to understand, and I'm getting nowhere. A step by step example would be more useful.

My application is desktop, dotnet 2.0, vis studio 2008, vista enterprise os.
The application consists of several assemblies. I'm testing deployment/installation to a virtual XP machine using Virtual PC.

When its run and I try to access the form containing my Teechart, I receive the error that means it's not finding the licencing information.

My Teechart components were dragged onto a test form in my reporting assembly project (which is NOT the start-up assembly). A licences.licx file appeared in the reporting project's "properties" subdirectory after doing this. The licences.licx build action is Embedded Resource, Copy to Output directory is "do not copy". Nothing in custom tool or custom tool namespace. The form is created when a button is clicked on a form in another assembly.
Trying to get it to work, in my Setup project I have also configured it to put a copy of licences.licx into the application directory too.

What am i doing wrong please?

ps I also seem to be having problems when I try to drop a teechart onto an empty form in a new desktop application. I first of all have to manually add teechart.dll as a project reference or I get COM exceptions.

Re: Error deploying desktop teechart (licenses.licx)

Posted: Tue Jul 14, 2009 7:31 am
by narcis
Hi Czeshirecat,

Can you please have a look at the thread below? It points to other threads but it sumarises most issues on this field.

http://www.teechart.net/support/viewtop ... f=4&t=9762

First thing to check would be if the designtime license is correctly set up in your environment. Once this is correct and according to your applications nature you could try using plugin licensing setup.

Thanks in advance.

Re: Error deploying desktop teechart (licenses.licx)

Posted: Fri Jul 17, 2009 8:03 am
by 15653466
I solved it by copying the licences.licx file from the properties section of the report project into the properties section of the startup project (build action embedded resource) and that fixed it.