2015-12-28 19 views
3

當我嘗試通過Visual Studio Pro 2013/2015中的NCache Explore添加新的本地緩存時,在輸入IP地址和緩存名稱後,NCache Explore會提示錯誤消息如下:NCache無法通過NCache Explorer添加新的本地緩存/現有本地緩存​​

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中正確添加本地緩存?

+1

您使用NCache的OpenSource版本嗎? –

+0

是的,我正在使用NCache的開源版本/ –

+0

我不認爲NCACHE Explorer受開源版本的支持。使用安裝文件夾/ bin/tools中的命令來管理你的緩存 –

回答

1

不支持在Visual Studio Pro 2013/2015中使用NCache進行官方開源版本的支持。

您可以通過以下步驟從控制檯管理它。

  1. 打開CMD
  2. cd到安裝文件夾;我的是`C:\ Program Files文件\的nCache \
  3. 光盤斌\ tools`
  4. 首先檢查服務是否已啓動,並通過執行listcaches.exe
  5. 如果一切都很好運行,那麼簡單地做startcache.exe mycache
  6. 如果沒有然後檢查你的IP是正確的或者不
    • config/client.ncconf
    • config/config.ncconf
    • bin/service/Alachisoft.NCache.Service.exe.config
+0

非常感謝。我可以使用命令行來控制另一臺機器的緩存停止/啓動嗎? –

+1

是的,您可以:'startcache.exe mycache/s 20.200.20.96'。有關更多信息,請執行'startcache.exe /? ' –

+1

非常感謝你! =] –