Reinstall Performance Counters?
Posted 23 August 2007 - 05:52 PM
The registry tells me the NCache perfmon ini file is located in C:\WINDOWS\inf\009\NCache\tmp92.tmp. However when I run:
Nothing happens. I tried unlodctr NCache before running lodctr, but it tells me "Counters for ncache have not been installed yet". The reg entry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services shows an entry as NCache\Performance so I am pretty sure thats the correct name.
Any ideas on how to restore NCache perfmon counters?
Posted 31 January 2008 - 08:05 AM
If NCache 64-bit is installed then you need to use 64-bit InstallUtil otherwise you should use 32-bit InstallUtil.exe
1. Go to command prompt
2. Change director to "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
3. run the following command
InstallUtil /u "C:\Program Files\NCache\bin\assembly\Alachisoft.NCache.Cache.dll"
InstallUtil /i "C:\Program Files\NCache\bin\assembly\Alachisoft.NCache.Cache.dll"
You should be able to see the counters in perfmon.
For 64-bit installation run this command from the following location
Posted 20 March 2015 - 10:31 AM
Adding some more info on solution above for re installing NCache performance counters.
Latest versions of NCache are built using .NET 4.0 Framework so here is how you should run the command to re-install counters using .NET 4.0 installUtil.
NCache Cache server counters (NCache):
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe /i "c:\Program Files\NCache\bin\assembly\4.0\Alachisoft.NCache.Cache.dll"
NCache Client counters (NCache Client):
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe /i "c:\Program Files\NCache\bin\assembly\4.0\Alachisoft.NCache.Web.dll"
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users