Q6101016. Issues migrating Chart FX for .NET (Windows Forms) from the trial version to a licensed version

The information on this article applies to
Summary
Due to the way Visual Studio .NET handles licensing, migrating from ChartFX for .NET trial to the licensed version can result in licensing errors.

Description
When you create a new project and drop any licensed component (such as Chart FX for .NET), VS.NET adds a new entry into a Licenses.licx file it creates in the same project folder, and stores an internal reference to the license for its use at run-time. For performance reasons, the component license is not automatically "refreshed" in the project, even though a new license is installed in the computer. Then, what happens is that even though you have a full license in your system, VS.NET still has a trial license stored in the project, which needs to be refreshed with the full license.

Microsoft does not advice of any way to "refresh" a license, but we have found two ways to do it:

- Opening the licenses.licx with an editor (it’s a simple text file), which can be VS.NET itself or Notepad or any other editor for that matter, delete all the entries (leave it blank), and save it. Then, simply rebuild your solution.
- Deleting the licenses.licx and running Rebuild Solutions.

The licenses.licx file is located in the same folder of the project.

Note: You should not have to remove your charts or recreate them.

Also note that a similar issue occurs when you install a ChartFX extension on top of an existing version of the core product. Please see http://support.softwarefx.com/kb/610/1/017.htm for more details.

Related Articles
Q6101001 How to deploy a WinForms Application when it contains a wrapper object using Chart FX for .NET
Q6101008 Using Chart FX for .NET Windows Forms control from a DLL
Q6101010 How to manually add a Chart FX license to an executable
Q6101017 Licensing issues related to using Chart FX for .NET extensions with an existing version of the core product
Q6102007 License information not stored when application is compiled
Q7101027 Building a chart using Visual C++ causes an exception
Q7102039 Managed C++ Apps give exception when deploying


ArticleID:Q6101016
Keywords:
Reviewed:3/3/2004 3:03:00 PM

DISCLAIMER INFORMATION:
Information in this document is subject to change without notice and does not represent a commitment on the part of Software FX, Inc. The software, which includes the information contained in any databases, described in this document is furnished under a license agreement or nondisclosure agreement. The software may be used or copied only in accordance with the terms of those agreements. It is against the law to copy the software on any medium except as copy of the software for backup purposes. No part of this article may be reproduced or transmitted in any form or by any means including recording, or information storage and retrieval systems, for any purpose other than the purchaser's personal use, without the express written permission of Software FX, Inc.

Software FX, Inc. disclaim all warranties, either express or implied, including but not limited to implied warranties of merchantability and fitness for a particular purpose, with respect to the instructions contained in this article.

In no event shall Software FX, Inc. be liable for any damages whatsoever including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss, even if Software FX, Inc. has been advised of the possibility of such damages. Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.