Knowledgebase Home Page  >  RapidSpell Desktop .NET  >  Troubleshooting
Search the Knowledge Base
Tips for solving issues with licensing/licenses.licx/registering
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=76&catId=64

Options

Print this page
Email this to a friend

v3 and older users please note, Visual Studio 2010 is supported in v4 (released 2008) upwards. Older versions do not support VS 2010.

 

If you're having trouble with the RapidSpell Desktop .NET controls accepting your license registration, the issue is most likely to do with your licenses.licx file.  Specifically when you build your project, VS is supposed to look at the licenses.licx file, it reads the various classes that need licensing from there.  For each class listed, it queries the licensing code in the named assembly to see if the license key is OK.  If it is (which basically means your license key is stored in Isolated Storage) then the compiler embeds the license key in the exe;  If the control is complaining that it's not registered, then this is what's not happening for you, the license is not getting embedded.

 

If you've tried looking in the user guide, then the following may help you resolve the issue.

 

i) You are using these controls in your own 'Control Library' project; to do this the licenses.licx file in the 'startup' or .exe project must contain relevant licensing info for the controls used (see next).

ii) Your licenses.licx file in the project doesn't contain correct information - the user guide section on licensing explains what data should go in this file.

iii) You have the correct data in your licenses.licx file, and that file is in your startup (exe) project, however you haven't done a full 'rebuild solution'; it is imperative that the solution/project is fully rebuilt - sometimes it is best to delete the bin directory under the project(s) and then rebuild as this forces Visual Studio to rebuild and embed the license.

 

Other possible causes;

 

iv) If you're using a source control system, make sure the project file is writable.

v) licenses.licx is incorrect. 

a) To make it more foolproof look for lines like this:

Keyoti.RapidSpell.RapidSpellAsYouType, Keyoti.RapidSpell.NET2, Version=3.5.0.34068, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e

and change to

Keyoti.RapidSpell.RapidSpellChecker, Keyoti.RapidSpell.NET2

Note: When using .NET1 DLLs change Keyoti.RapidSpell.NET2 to Keyoti.RapidSpell

 

b) If this file has been checked out it seems to cause problems, some blogs have mentioned that Visual Studio has trouble with this file if it's on a source control tree, so remove it, and keep a local copy.

 

c) Ensure you include this file in the exe project (i.e. it actually needs to be in the project, not just in the directory) as an embedded resource. (Must be the exe project, a dll project will not work, contact us if not possible)

 

d) Sometimes this file gets 'corrupted' or locked, so copy the contents of the file, then delete the file and recreate it (Add New Item), pasting the contents back in.  Also, if modifying licenses.licx in an editor other than Visual Studio, make sure you save it as Unicode.

 

vi) The project isn't being properly rebuilt:  You should delete the bin for the startup project to force it to properly build. 

vii) You are using TFS or other build servers to build the application, please see  http://keyoti.com/kb/Default.aspx?ToDo=view&questId=222&catId=64   

viii) Your app is running the controls inside a different AppDomain (if you’re doing that you will have code like “AppDomain.CreateDomain” in your project).  If this is the case please contact support@keyoti.com for a remedy.

Other than that, the usual routine may help.  Delete all your bin directories. Restart Visual Studio.  Try again.

 

Email support@keyoti.com if still having difficulty


Related Questions:

Attachments:

No attachments were found.