Installation requires either of the following versions, based on your environment:
- .NET Framework 4.8
- .NET 6.0
NCache can be installed via an interactive Windows installer by following these steps:
Search for Command Prompt on Windows Start menu. Right-click on the search result Command Prompt, and select Run as Administrator. The reason for this is that NCache must be installed from an admin user.
Install NCache: Run msiexec.exe utility from Command Prompt to install NCache in an interactive mode as following. Please note that the .msi file may have a different name for .NET Framework installation.
msiexec.exe /I "C:\NCacheSetupPath\ncache.ent.net.x64.msi"
- The following Welcome to the NCache Setup Wizard screen appears:
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 Agreement for NCache. You cannot proceed without accepting the license agreement.
The Select NCache Installation Type screen appears.
Select the installation type that you want (Cache Server for now) and click Next.
Installation Key screen appears, which asks for the installation key. (For Cache Server Only)
This is the key which you have received from Alachisoft Support when you registered to download NCache Enterprise Edition.
If you do not have the installation key, then click Get Installation Key. User Registration from the Alachisoft website is displayed. Enter all the required information and click Register or Login and an installation key is emailed to you. Enter that installation key in the above box and click Next.
User Information screen appears, which asks for your information. Enter all required information and then click Next.
Make sure that the email address provided is the one used during registration with Alachisoft.
- The Select Installation Folder screen confirms the location where NCache should be installed. Keep the default location or change it if required. Click Next.
The Configure IP Binding and Firewall Ports screen ensures the following prerequisites:
- NIC binding in case of multiple server IP addresses.
- Configure NCache specific ports in case of firewall
From the dropdown menu, select the IP address to which you want to bind NCache services.
By default, the firewall will be configured for all ports used by NCache. Disable the checkbox in case you don't want to configure NCache ports with the firewall.
- Click Next.
Set Account to Run NCache Services dialog box is only for ASP.NET Core installation.
- The next screen asks for user credentials with administrative privileges that are required to monitor PerfMon counters in case of ASP.NET Core installation. Enter the account name and password or use a local system account. Click on Next.
For .NET Core installation, if you choose to provide an account other than the local account, you have to allow this user to login to the NCache service. See troubleshooting for more details.
- By default, NCache service will create and start a demo cache named demoCache of topology Partitioned-Replica at the end of setup installation. You can disable this option from this screen by unchecking the Start demo cache at the end of installation. option. Click on Install when done.
- After the installation is completed successfully, the following screen is displayed. On this screen, there is an option to Launch Web Manager on Finish which automatically launches the NCache Web Manager on your localhost after successful setup installation. You can uncheck this option if you do not wish to launch the NCache Web Manager. Click Finish.
- If you have used an expired installation key, you will be prompted with this screen instead of the exit installation screen:
If you have a license key or extension key, you don't need to worry about this message. Just use the Register-NCache PowerShell cmdlet to activate your license or extend your evaluation period. Otherwise, contact Alachisoft Sales to purchase NCache license or extend evaluation.
You can refer to Getting Started to set up NCache environment.
In case of NCache .NET Core installation, if you choose to use a custom user instead of local for the required administrative rights, you need to logon that service as a custom user. Follow these steps for a workaround:
On Windows, search for Local Security Policy.
Go to Local Policies -> User Rights Assignment.
Double click on Log on as a service. This will open Local Security Settings where you will find all users who have access to the services.
Click on the Add User or Group... button and add the user here.
Click on OK and Apply to apply these changes.