Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

License.licx not working - Thesaurus Desktop .NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Guest
#1 Posted : Friday, January 11, 2008 1:41:22 PM
Rank: Guest

Groups:

Joined: 2/14/2015
Posts: 1,322
Hello,

I need to use the component as part of a site. I have managed to integrate the model but it wont pick up the license.licx file which i manually created and added to my VS project.

This is my licx file:

Keyoti.Thesaurus.Windows.Thesaurus, Keyoti.Thesaurus.Windows

is this correct?

When i try and compile it i get:
An instance of type 'Keyoti.Thesaurus.Model.ThesaurusEngine' was being created, and a valid license could not be granted for the type 'Keyoti.Thesaurus.Model.ThesaurusEngine'. Please, contact the manufacturer of the component for more information.


This is my test code:
Code:

    static Keyoti.Thesaurus.Model.IThesaurusEngine model;
    protected void Page_Load(object sender, EventArgs e)
    {
        ArrayList myalist = Thesaurus().GetAllSynonyms("apples");

        foreach (string syn in myalist)
        {
            Response.Write(syn + "<BR>");
        }
    }

    public Keyoti.Thesaurus.Model.IThesaurusEngine Thesaurus(){
       
        if(model == null){
            model = new Keyoti.Thesaurus.Model.ThesaurusEngine();
        }
        return model;
    }
Guest
#2 Posted : Friday, January 11, 2008 2:11:52 PM
Rank: Guest

Groups:

Joined: 2/14/2015
Posts: 1,322
Scratch that, got it working.

Needed to change (seems so obvious now) :

Keyoti.Thesaurus.Windows.Thesaurus, Keyoti.Thesaurus.Windows

to

Keyoti.Thesaurus.Model.ThesaurusEngine, Keyoti.Thesaurus.Model
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.