【问题标题】:NCache cannot add new local caches / existing local caches through NCache ExplorerNCache 无法通过 NCache Explorer 添加新的本地缓存/现有的本地缓存
【发布时间】:2016-04-01 22:43:42
【问题描述】:

当我在 Visual Studio Pro 2013 / 2015 中尝试通过 NCache Explore 添加新的本地缓存时,输入 IP 地址和缓存名称后,NCache Explore 提示如下错误消息:

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)

有人知道如何在 NCache Explore 中正确添加本地缓存吗?

【问题讨论】:

  • 你使用的是开源版本的 NCache 吗?
  • 是的,我使用的是开源版本的 NCache/
  • 我认为开源版本不支持 NCACHE Explorer。使用安装文件夹/bin/tools 中的命令管理缓存

标签: caching visual-studio-2013 ncache


【解决方案1】:

Visual Studio Pro 2013 / 2015 中的 NCache 探索在开源版本中不受官方支持。

您可以通过以下步骤从控制台对其进行管理。

  1. 打开 CMD
  2. cd 到安装文件夹;我的是`C:\Program Files\NCache\
  3. cd 到 bin\tools`
  4. 首先通过执行listcaches.exe检查服务是否启动并运行
  5. 如果一切正常,那么只需执行startcache.exe mycache
  6. 如果不是,请检查您的 IP 是否正确
    • config/client.ncconf
    • config/config.ncconf
    • bin/service/Alachisoft.NCache.Service.exe.config

【讨论】:

  • 非常感谢。我可以使用命令行来控制另一台机器的缓存停止/启动吗?
  • 是的,您可以:startcache.exe mycache /s 20.200.20.96。欲了解更多信息,请startcache.exe /?
  • 非常感谢! =]
  • 当我尝试执行 iistcaches 时,我收到一条错误消息,提示 MachineName 值无效。有什么想法吗?
  • @BasitAnwer 非常感谢。我最终是从 NCache 管理器完成的
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2020-03-06
  • 2012-03-05
  • 1970-01-01
  • 1970-01-01
  • 2019-04-29
  • 2016-05-07
  • 1970-01-01
相关资源
最近更新 更多