• 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

Interactive Windows Installation

NCache can also be installed via an interactive Windows installer.

Note

We recommend you to run your evaluation using the NCache Enterprise Edition. You can later decide whether to downgrade to NCache Community, based on your needs.

  • Right click on ncache.ent.x64.msi and Run as Administrator.

    OR

  • Open Command Prompt with administrative privileges and execute the following command:

msiexec /i <path_to_MSI>
  • The following Welcome to the NCache Installation Wizard screen appears:

  • Click Next.

  • The next screen asks you to accept the license agreement. By clicking I accept the terms in the License Agreement, you are making a legal commitment to abide by the Alachisoft Software License Agreement for NCache. You cannot proceed without accepting the license agreement.

  • The Select NCache Installation Type appears.

  • Select the edition of NCache which you want to install:

    • Client Server installs the full server product along with the local client.

    • Remote Client installs the local and client caches, ASP.NET session modules and NCache API for remote cache access.

    • Developer installs standalone local cache and development libraries, along with restricted access to remote caches. Note the following limitations for Developer Installation Type while connecting to remote caches:

      • Throttling of 50 requests/sec for each client: All such clients that are licensed under DEV license will not be able to make more than 50 requests/sec to the remote cache.

      • Limited number of requests (200,000) a client can send to remote cache: In a lifetime of client application in case it is licensed under DEV license, the client will stop making requests to remote cache after it has sent 200,000 requests to remote cache. The only work around is to restart application for another 200,000 requests. Once the client has made 200,000 requests, a licensing exception will be thrown saying “Clients running under DEV license cannot send more than 200,000 requests to remote cache.”

Note

Developer licensed clients can make requests to local caches without any limitation.

  • Click Next.

  • Evaluation Information dialog appears which asks for the installation key. This is the key which you have received from Alachisoft.
Important

Even when you have purchased NCache and have a license key, you must provide the INSTALL KEY here (and not the purchased license key). The purchased license key will be provided during license activation.

  • If you do not have an installation key, please click on Get Installation Key button which takes you to Alachisoft website to register and obtain an installation key.

  • If you are already registered, just enter your email address and an installation key will be emailed to you. Otherwise, register by specifying information and an installation key will be emailed to you.

  • In User Information dialog, you need to enter your name, company name, and email address. This information will be displayed as part of NCache to indicate your identity.

  • Click Next.

  • By default, NCache is installed in “C:\Program Files\NCache” folder. However, if you want to change this location, you can specify a different one below.

  • Click Next.

  • In the next dialog box, you can see all the components that will be installed automatically. You can unselect some of the components if you wish. However, it is strongly recommended that you keep everything as default.

  • After selection, click Next.

  • You will then be prompted to start installation process by clicking the Install button.

  • Installation process will begin.

  • After everything is done, you see the final screen indicating a successful finish of NCache installation.

  • Click Finish to exit the installation setup.

Evaluation and Trial License

NCache Enterprise comes with all features during the initial evaluation period of 30 days. However, it has a built-in performance limitation (max 200 requests/sec per cache per server) and amount of activity limitation (total 500,000 requests before a cache restart is required).

You can remove these limitations from NCache Enterprise by requesting a FREE 60-day Trial License Key and activating all the cache servers with it. This Trial License is extendible for 30 days upon each additional request.

Upon purchase of NCache Enterprise, the purchased license key also removes all these limitations.

What is Installed with NCache Enterprise edition?

For Enterprise edition, the following are installed:

  • .NET Framework 4.0 Client
  • .NET Core Client
  • Java Client

Troubleshooting

Installation Error 1721: A Required Program could not be Run

On Windows Vista and Windows Server 2010, you may get the following error during install or uninstall process:

Error 1721: 'There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.'

This usually happens if UAC (User Account Control) is enabled on the target machine.

Workaround

Create a batch file containing the following command:

msiexec /I "<NCache MSI path>"

Right click on the batch file and click Run as Administrator.

Installation Ended Prematurely

With 64-bit NCache installation, you may get the following error at the end of the installation:

Error: "Installation ended prematurely"

This usually happens when NCache service is not removed properly.

Workaround

  • Run the following command on VS.NET command prompt to uninstall the service.
InstallUtil /u "C:\ProgramFiles\NCache\bin\service\Alachisoft.NCache.Service.exe"
  • If you do not have the service file in the /bin/service folder then copy it from the other machine and paste it there and run the command. It should uninstall the NCache service.

  • Install NCache.

NCache Installation Error 1606: Could not access network location

In some situations, you may be unable to install NCache on Windows Vista with following error message.

Error: 'Error 1606. Could not access network location %SystemDrive%/inetpub/wwwroot/'

Workaround

  • Disable UAC in Windows Vista.

  • Find the following key: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/InetStp/PathWWWRoot

  • Change the value of this registry key from %SystemDrive%/inetpub/wwwroot to C:\inetpub\wwwroot. If your default website in IIS is stored at a different location, set the value of this registry key to that path.

  • Enable IIS 6.0 administration.

Installation Roll Backs on Windows Vista

When you install NCache on Windows Vista, sometimes it rolls back towards the end without giving any error.

Workaround

To workaround this problem on a Windows Vista computer, please follow these steps.

  • Go to Control Panel -> Programs -> Turn Windows features on or off

  • In the Windows Features dialog, find Internet Information Services.

  • Expand the tree to Web Management Tools and click the node IIS 6 Management Compatibility to enable it.

  • Click OK and let Windows install the selected feature on your system.

  • Now you can install NCache.

Back to top Copyright © 2017 Alachisoft