The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly
Issue
Kofax TotalAgility - Kofax Core Worker Service doesn't start.
Cause
The issue is the corruption of the file:
"C:Program Files\Kofax\TotalAgility\CoreWorkerService\Kofax.TotalAgility.Common.resources.dll"
It will produce the following error in the logs:
Service cannot be started. System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly. at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value) at Agility.Server.Core.Worker.ThreadPools.ThreadPool`1..ctor(Int32 maxNumberOfThreads, Int16 minThreshold, Int16 maxThreshold, Int16 threadUrgency, ThreadPoolManager`1 threadPoolManager, String poolName) at Agility.Server.Core.Worker.CoreWorkerThreadPools.Initialize(Boolean export) at Agility.Server.Core.Worker.CoreWorker..ctor() at Agility.Server.Core.WorkerService.CoreWorkerThread..ctor() at Agility.Server.Core.WorkerService.Service.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
Solution
There are two options:
Option 1:
- Go to “Program Files\Kofax\TotalAgility\CoreWorkerService\”.
- Back-up and delete the file Kofax.TotalAgility.Common.resources.dll
- Start core worker service
Option 2:
- Do a Repair for KTA.
Option 3:
This can be caused on non Englisch Opertaing systems. The following BUG was raised for this and is fixed in KTA 7.10:
Bug 1639680:Core Worker won't startup when using a German locale
Workaround is to set the Operating System to Englisch
Level of Complexity
Easy
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
KTA | 7.9 |
References
Add any references to other internal or external articles
Article # 3038835