cachingvisual-studio-2013ncache

NCache cannot add new local caches / existing local caches through NCache Explorer


When I tried to add new local caches through NCache Explore in Visual Studio Pro 2013 / 2015, after I input IP address and cache name , the NCache Explore prompt a error message as below :

Error: Alachisoft.NCache.Runtime.Exceptions.ManagementException 
at Alachisoft.NCache.Management.RPC.RemoteCacheServer.ExecuteCommandOnCacehServer(ManagementCommand command)
at Alachisoft.NCache.Management.RPC.RemoteCacheServer.IsCacheRegistered(String cacheId)
at Alachisoft.IntegCommonMVC.Controllers.CommonControl.CommonController.CheckCacheAvailability(String serverNode, String cacheId, Int32 serverPort)

Does anyone know how to add the local cache in NCache Explore correctly ?


Solution

  • NCache Explore in Visual Studio Pro 2013 / 2015 is not supported Officially in the open source version.

    You can manage it from console with the following steps.

    1. Open CMD
    2. cd to installation folder; mine is `C:\Program Files\NCache\
    3. cd to bin\tools`
    4. First check if service is up and running by executing listcaches.exe
    5. If all is fine then simply do startcache.exe mycache
    6. If not then check if your IP is correct or not in
      • config/client.ncconf
      • config/config.ncconf
      • bin/service/Alachisoft.NCache.Service.exe.config