NCache 4.6 - Online Documentation


In case no nametag has been added to a cache and the cache is searched with SearchCQ for nametag values, you get IndexNotDefinedException. If you want that no such exception should be thrown even if you have not added any nametag to your cache, NCache now provides a way to disable this exception.
You can suppress this exception by following these steps:
  • Go to Alachisoft.NCache.Service.exe.config located at
  • Add the following line in the configuration file:
  <add key = "NCacheServer.DisableIndexNotDefinedException" value = "true" />
The value "true" indicates that no IndexNotDefinedException will be thrown, whereas, the value "false" means that the exception will be thrown.
  • Restart the NCache service for these changes to take effect.