Microsoft KB Archive/299059

= You receive Application Center Event ID: 1008 Perflib error messages on Performance Data Counters =

Article ID: 299059

Article Last Modified on 6/30/2006

-

APPLIES TO


 * Microsoft Application Center 2000 Standard Edition

-



This article was previously published under Q299059



SYMPTOMS
After you install Microsoft Application Center 2000, you may receive the following error message:

Event ID: 1008

Source: Perflib

Event Type: Error

Description:

The Open procedure for service  in .dll   failed. Performance data for this service will not be available. Status code returned is DWORD 0.

Note  is a placeholder for the service name. is a placeholder for the DLL path.



CAUSE
The performance logging feature in Application Center uses Performance Data Helper (PDH) to collect performance data every 10 seconds. If any performance counter object in the performance library is not available, the error message occurs. The error message references the affected performance counter service name and counter DLL. Because of this, performance counters that are related to this error may not be functioning.



RESOLUTION
To resolve this problem, use one of the following methods:  Obtain and install Microsoft Windows 2000 Service Pack 3 (SP3). For more information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to obtain the latest Windows 2000 service pack

 Reinstall the affected service performance counters. For more information about how to do this, see the &quot;More Information&quot; section. Reinstall the product that is associated with the PDH that is named in . Change the identity of the Application Center Performance Log consumer (COM+ component) to an account that has administrative rights. Some performance counters, such as Microsoft Internet Information Services (IIS) counters, require administrative rights. The Microsoft Application Center Performance Log consumer collects performance data by using a non-administrative account with low privileges (ACL_ ). Therefore, changing the identity of this COM+ component to an account that has administrative rights may resolve this issue. Keep in mind that this method may produce a security risk. If none of these options stops the 1008 errors, contact Microsoft Product Support and give the  that is displayed in the 1008 error to the product support team. With this information, Microsoft Product Support can notify the correct product development groups of possible problems with their product's PDH.

WORKAROUND
To work around this problem, use one of the following methods:  Disable the affected performance counter object by using the ExCtrlLst tool. This procedure does not resolve this issue, but may prevent future error messages. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

248993 Performance object is not displayed in Performance Monitor

<ol> Start Exctrlst.exe. This tool is included with the Microsoft Windows 2000 Resource Kit.</li> Select the first item in the Extensible Performance Counters list box.</li> Examine the Performance Counters Enabled check box that appears just below the list box. If the check box is clear, the counter is disabled. If it is selected, click to clear the check box to disable the counter.</li></ol> </li> Exclude the error messages from Application Center. This procedure does not resolve the problem, but ignores the non-critical error message. <ol> In the Microsoft Management Console (MMC) Application Center snap-in, right-click Events, click Properties, and then click Exclusions.</li> In the Product field, type Windows, and then click Add.</li> In the Add Event Exclusion dialog box, click to select Error. In the Source field, type Perflib. In the Event ID field, type 1008 .</li> Click OK in all dialog boxes.</li></ol>

All future error messages of this type will not be displayed.</li></ul>

<div class="moreinformation_section">

MORE INFORMATION
You must have three files to install Performance Monitor counters for a particular service. One file is an .ini file that contains the installation instructions for the counters. Another file is an .h file that contains the symbolic and offset information for the counters. The third file is the .dll file that maintains the statistics for the counters. These three files must reside in the %WinDir%\System32 directory before you can install them.

To install or reinstall Performance Monitor counters for affected services: <ol> Open a command prompt, and then change to the %WinDir%\System32 directory.</li> Type the following command, and then press ENTER:

lodctr

Note  is a placeholder for your .ini file that contains the counter name definitions.

</li> Repeat steps 1 and 2 for each service performance counter object that you want to install.</li></ol>

To display a list of all driver names and their associated .ini files: <ol> Open a command prompt.</li> At the command prompt, type the following command, and then press ENTER:

cd \System32

</li> Type the following command, and then press ENTER.

findstr drivername *.ini

</li> <li>Note the name of the .ini file for each driver name in the list.</li></ol>

When you install a service performance counter object, you may receive the following error message:

Counters for  are already installed

Unable to update the system registry

To resolve this problem, follow these steps: <ol> <li>At the command prompt, type the following command, and then press ENTER:

unlodctr

Note You can find the service name in the registry at the following registry key:

</li> <li>At the command prompt, type the following command, and then press ENTER:

lodctr

</li></ol>

If the main Performance Monitor data files (Perfc009.dat and Perfh009.dat) have become corrupted, see the following Microsoft Knowledge Base article:

127207 Missing objects and counters in Performance Monitor

<div class="references_section">