Forum Discussion

yingkai1208's avatar
yingkai1208
Contributor
11 years ago

Unable to find an activated license

Hi, 



I think I encountered an odd issue. When I launch Testcomplete 10 in a machine(machine B), 

it gives me the warning message: Unable to find an activated license. I have done the following checks:



1. My company has two floating license for Testcomplete. I could launch TestComplete 10 in another machine (machine A). I think it means the License Manager PC is available and the license is activated.



2. In machine B, I could launch TestComplete 9. I think it means machine B could connect to the license machine PC.



I installed TestExecute in machine A this morning, so I doubt that it could cause this issue. Therefore I did a further check:



In the License Manager of TestComplete 10 in Regedit. I found  the value of lastServerName is machine A's name, rather than license server PC's name.But the weird thing is when I check the regedit in machine A, the value of LastServerName is also machine A's name.



Could I ask:

1. how could this issue be solved?



2. What TestComplete actually does when I enter the license manager PC's name in the field of Specify Search Parameters in http://localhost:1947/_int_/config_to.html, and then Click Submit. I think this action should change the value of LastServerIP, LastServerKey and LastServerName. But actually, the values for these three parameters do not change. Could you give me some idea about the nature of these three parameters in Regedit?



Cheers.

Kai







  • Hi,



    As informaed by support team regarding a similar kind of ticket, once the tool is upgraded to TC 10, you can't use both TC 10 and TC 9 simultaniously.



    Hope this will be helpful.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Kai,


     


    It's better to refer licensing questions to the Support team as some secure information may be required, which I guess you will be reluctant to post on the forum.


     


    In the meantime, I'll try to reply...


    First of all, TestComplete and TestExecute use different licenses - so they cannot affect each other.


     


    To make TestComplete obtain the license from your server where the TestComplete 10 Floating license is activated, you need to check the following:


    1. Your license server and machine B have the working LAN connection (check if you can successfully "ping" the server computer).


    2. Specify the server name on this page on machine B and save changes.


     


    One more note, you said that your company has two Floating User license. Are both of them for TestComplete 10? Or, is one license for TestComplete 9 and the other one for TestComplete 10?


     

  • Hi, Tanya



    Thanks for the reply.



    Follow on of your suggestions.

    1. The connection between license server and machine B is fine. i could ping the license server machine in machine B.

    2. I have done this step(specify the server name on the page of http://localhost:1947/_int_/config.html), then click Submit. But it does not take affect.

    3. The two floating user license are both for Testcomplete 10, because I used TC 10 in machine B before yesterday and TC 10 worked fine. It is also the reason why I doubt TE has impact on TC, because yesterday I installed TE on machine A. and after that, TC 10 was not working on machine B and when I checked regedit in machine B, the value of TheLastServer for TC 10 is the name of machine A(which I think should be the license server machine)



    Cheers.

    Kai





  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Kai,


     


    Hmm...


    It looks like some additional investigation steps are required - we need to analyze some licensing service settings. Thus, I suggest that you contact our Support team as they can have the secure data. Please send the Support team the following screenshots:


     


    1. From your license server:


    http://localhost:1947/_int_/devices.html


    http://localhost:1947/_int_/products.html


    http://localhost:1947/_int_/features.html


    http://localhost:1947/_int_/config.html


    http://localhost:1947/_int_/config_from.html


    http://localhost:1947/_int_/config_users.html


    http://localhost:1947/_int_/diag.html


     


    2. From the TestComplete PC:


    http://localhost:1947/_int_/devices.html


    http://localhost:1947/_int_/config_to.html


    http://localhost:1947/_int_/diag.html


    http://localhost:1947/_int_/products.html


    http://localhost:1947/_int_/features.html

  • gid_216's avatar
    gid_216
    Frequent Contributor
    Hi,



    As informaed by support team regarding a similar kind of ticket, once the tool is upgraded to TC 10, you can't use both TC 10 and TC 9 simultaniously.



    Hope this will be helpful.
  • Hi, 



    Thanks for reply.



    I will delete TC 9.



    Could I also ask a quick question: (I have raised this issue to your support team, sorry for double raising.)




    In the manual, it says - 


    Before You Install


    Make sure that the computer where you are going to activate the license is a physical computer that meets the system requirements and has no other TestComplete licenses activated on it.

     


    Could I put licenses of TC 9 and TC 10 on the same machine? If the answer is No, I need to deactivate license of TC 9 in the license machine before activating license of TC 10 in that machine.

     


    Cheers.


    Kai


     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Kai,


     


    Activating v. 9 and v. 10 on one computer is possible. The product can be used side by side. The only restriction is that using both products is allowed only when migrating your tests to the newest version. Once all tests are migrated, and you make sure that they work well, you'll need to uninstall TestComplete 9 from the computer and deactivate the corresponding license.


     

  • Hi,



    I uninstalled TC 9, and deactivate the corresponding license. Only leave TC 10 in my machine.



    Cheers.

    Kai