Sign In  Sign Up Live-Chat

Trying to install new license

Last post 05-27-2005, 9:33 AM by Admin. 6 replies.
Sort Posts: Previous Next
  •  01-31-2005, 7:25 PM 14684

    Trying to install new license

    Dim license As License = New license

    license.SetLicense(Server.MapPath("Aspose.Word.lic"))

    I seem to get an error in visual studio that tells me that the word license is ambiguous, imported from the namespaces or types 'system.componentmodel', aspose.spell

    Do you know what this means?

    Cheers,

    N.

     
  •  02-02-2005, 2:39 PM 14768 in reply to 14684

    Re: Trying to install new license

    Please make sure you download and use the latest version of Aspose.Spell as License class was introduced just recently.

    Also, your license file name is likely to be Aspose.Spell.lic, not Aspose.Word.lic.

    Roman Korchagin
    Lead Developer, Aspose Auckland Team
     
  •  02-02-2005, 6:29 PM 14778 in reply to 14684

    Re: Trying to install new license

    Have already installed the new version of spell. The error message still reads in visual studio:

    c:\inetpub\wwwroot\HHComments\HollandHall_comments\comment_writing\editStudentLedComment.aspx.vb(239): 'license' is ambiguous, imported from the namespaces or types 'Aspose.Word, Aspose.Spell, System.ComponentModel'.

    Any ideas?

    Cheers,

    Neil.

     
  •  02-02-2005, 8:22 PM 14784 in reply to 14778

    Re: Trying to install new license

    Try fully qualified class name.

    Dim license as new Aspose.Spell.License
    ...
    Roman Korchagin
    Lead Developer, Aspose Auckland Team
     
  •  02-05-2005, 7:39 PM 14863 in reply to 14684

    Re: Trying to install new license

    Still does not work.  Any other suggestions?

    Cheers,

    Neil.

     
  •  02-07-2005, 2:36 AM 14886 in reply to 14863

    Re: Trying to install new license

    The error message explains it well. There is License class in Aspose.Word, Aspose.Spell and ComponentModel namespaces. If you just use License class, the compiled does not know which class to use hence the error. The standard way out is to use fully qualified class name (that's what the namespaces were designed for). I don't see how using full class name fails to help, maybe you have License mentioned elsewhere.

    Roman Korchagin
    Lead Developer, Aspose Auckland Team
     
  •  05-27-2005, 9:33 AM 20570 in reply to 14886

    Re: Trying to install new license

    We have a FAQ wiki topic to address this question. Please check it out at

    http://www.aspose.com/wiki/default.aspx/Aspose.Purchase/HowToFixLicenseClassConflict.html

    Ben Li
    Team Leader, Aspose Sydney Team
    About Us, Contact Us
     
View as RSS news feed in XML