Problem:
Although no application is failing, the following error is reported in Event Viewer:
Event Type: Error
Log Name: Micro Focus Server
Source: cas0perf
Date: 8/7/2013 1:50:22 PM
Event ID: 1
Task Category: (1)
Level: Error
Keywords: Classic
User: N/A
Computer: machine-name
Description:
The description for Event ID 1 from source cas0perf cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The information below was also included with the event:
Unable to retrieve registry info for - Active Servers
The message resource is present but the message is not found in the string/message table
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="cas0perf" />
<EventID Qualifiers="16384">1</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-08-07T18:50:22.000000000Z" />
<EventRecordID>26316</EventRecordID>
<Channel>Micro Focus Server</Channel>
<Computer>machine-name</Computer>
<Security />
</System>
<EventData>
<Data>Unable to retrieve registry info for - Active Servers</Data>
</EventData>
</Event>
Resolution:
The problem is caused by a missing Active Servers' registry entry.
There are a couple of work arounds:
- Any server can be started with the 'Allow Performance Monitoring' box checked under the general tab of a servers properties. When this server starts up, it will detect that there is no 'Active Servers' entry in the registry and create it. Once this registry entry has been created, the messages should no longer appear.
- If you have no intention of using performance counters for enterprise server then the following registry key can be removed:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Micro Focus Server
This will prevent cas0perf.dll from being called by perfmon (or any other consumer) - If you do not intend to use Enterprise Server at all, then you can simply uninstall it from Programs and Features or Add or Remove Programs where you need to:
a. select Micro Focus Net Express 5.1
b. click on Change
c. click on Enterprise Server to mark the feature with a X, i.e "This feature will not be available"
d. click OK to uninstall Enterprise Server and its related components