Why does ScanSharp crash on startup?
This article applies to version 3.11 and below of ScanSharp and ScanSharp OCR.
Symptom:
ScanSharp may crash on startup.
Cause:
Performance counter is a mechanism used by ScanSharp to check for a new instance of it running. If there is a instance of ScanSharp running, ScanSharp will not launch. This error occurs because Performance counter is disabled.
In some cases, the "Disable Performance Counters" value does not appear in the registry. In such cases, Performance counter may not be the cause of ScanSharp or ScanSharp OCR crashing. Version 3.12 and above of ScanSharp and ScanSharp OCR does not use the Performance counter.
Resolution:
To resolve this issue, please follow the instructions below to enable the Performance counter.
1. Ensure the following files exist in the System32 directory of the Windows folder: Perfc009.dat, Perfh009.dat.
2. If the files are missing, please copy the files from another computer which has the following files or from the Windows XP Install disk. You can do a search to look for the files on the Windows XP Install disk. If this is not the case, continue to step 3.
3. Start Regedit.exe. (You cannot use Regedt32.exe because it does not allow searching for registry values.)
4. Click to select the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
5. Select Find from the Edit menu.
6. In the Find What field, type Disable Performance Counters.
7. Click Find Next. This will locate a Performance key that may have this Registry value set to 1.
8. If the Registry value is set to 1, set the value to 0 or delete the Registry value.
9. Press F3 to find the next occurrence of this Registry value.
10. Repeat the previous two steps until there are no Performance keys that have the Disable Performance Counters value set to 1.
11. Restart the computer and then try out the ScanSharp or ScanSharp OCR program.
|