• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Show / Hide Table of Contents
  • Installation Guide for NCache
  • Installation Guide for .NET
    • Getting Started
    • Command Line Installation
    • Interactive Windows Installation
    • Network Install with PowerShell
      • Remote Installation
      • Remote Uninstallation
      • Activate NCache Purchased License
    • Evaluation Period Expiration & Extension
    • Activate NCache Purchased License (GUI)
      • Online Activation
      • Manual Activation
    • Deactivate NCache Purchased License (GUI)
      • Online Deactivation
      • Manual Deactivation
    • Command Line License Activation
  • Installation Guide for NCache Java Client
    • What is NCache Java Client?
    • Getting Started
    • Installation Steps for UNIX
    • Post Installation License Management for UNIX
    • Post Installation Client/Server Configuration for UNIX
    • Uninstall NCache Java Client from UNIX
    • Troubleshooting Common Install/Uninstall Problems
  • Licensing Model

Command Line Activation

If you have purchased NCache license, you are provided with the license key. This key is used to activate the license using the command line tool NActivate.exe located in the %NCHOME%/bin/NActivate folder. NCache allows two activation modes – online and offline.

Online Activation

  1. Search for "Command Prompt" on Windows Start menu, right-click on the search result and select Run as Administrator.

  2. Through command line, go to directory %NCHOME%/bin/NActivate.

  3. Execute the following command, where the license key (you got upon purchasing NCache from Alachisoft) is provided with the /k parameter. Note that the first name, last name and email address are compulsory parameters.

    nactivate /k XXXXXX-XXXXXX-XXXXXXXX /f John /l Smith /e john@alachisoft.com
    
  4. On successful activation of license, you are prompted with a success message “Thank you for registering your copy of NCache.”

Offline Activation

Offline activation requires generating an activation request code and sending it to Alachisoft Sales to receive the activation authentication key from Alachisoft.

  1. Search for "Command Prompt" on Windows Start menu, right-click on the search result and select Run as Administrator.

  2. Through command line, go to directory %NCHOME%/bin/NActivate.

  3. Execute the following command to generate the authorization code. This is specified with the /m parameter. The license key (you got upon purchasing NCache from Alachisoft) is provided with the /k parameter.

    nactivate /k XXXXXX-XXXXXX-XXXXXXXX /f John /l Smith /e john@alachisoft.com /m
    
  4. You will be prompted with a long encrypted text on the screen. This is the Activation Request Code.

  5. Copy this code from the screen to obtain the Activation Authentication Key. You can do this two ways:

    Method 1: Get Key from Alachisoft Sales

    • Email this code to Alachisoft Sales at sales@alachisoft.com.

    • You will receive the Activation Authentication key from Alachisoft Sales. Save this key as it is to be used in the proceeding steps.

    • Proceed to step 6.

    Method 2: Get Key via NCache Email Activation

    • On your web browser, open the following page: http://www.alachisoft.com/admin/ncache/console/emailact.php

    • Paste the Activation Request Code into the text box on this page and click Verify.

    • This opens up the Activation Data Verification page, which shows Product information, User Information and Machine Information.

    • Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.

    • This opens up the Activation Result page, showing the Generated Authentication Key. Save this key as it is to be used in the proceeding steps.

    • Proceed to step 6.

  6. On Command Prompt, enter the following command using the generated authentication key against the /auth parameter.

    nactivate /auth <authentication_key>
    
  7. On successful activation, you are prompted with a message “Thank you for activating NCache”.

Licensing Command Properties

Properties Purpose
/k (Required) Specifies the License key you received from Alachisoft
/f (Required) Specifies first name of the user
/l (Required) Specifies last name of the user
/e (Required) Specifies email address of the user
/m Generates the authentication code for manual activation which is sent to Alachisoft Sales at sales@alachisoft.com.
/comp Specifies user’s company name
/a Specifies address of the user
/city Specifies city name of the user
/s Specifies state of the user
/c[ountry] Specifies country of the user
/z Specifies postal/zip code of the user
/p Specifies phone number of the user
/nologo Suppresses displaying the logo banner
/? Displays command syntax and options for the utility.

Troubleshooting

NCache Activation Error

In some situations, while trying to launch NActivate tool, following error message is shown:

Error: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

This error message occurs usually when VC++ libraries are not installed. NActivate tool uses assemblies developed in VC++. Windows 2003 installation does not install Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2005 SP1 installed.

Workaround

Install redistributable package from Microsoft. It will install all the required libraries. You can download redistributable package from the following link:

http://www.microsoft.com/en-us/download/details.aspx?id=26347

Back to top Copyright © 2017 Alachisoft