Microsoft KB Archive/299059

From BetaArchive Wiki
Knowledge Base


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 Service in .dll DllPath failed. Performance data for this service will not be available. Status code returned is DWORD 0.

Note Service is a placeholder for the service name. DllPath 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 "More Information" section.
  • Reinstall the product that is associated with the PDH that is named in DllPath.
  • 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_computername). 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 DllPath 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

    1. Start Exctrlst.exe. This tool is included with the Microsoft Windows 2000 Resource Kit.
    2. Select the first item in the Extensible Performance Counters list box.
    3. 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.
  • Exclude the error messages from Application Center. This procedure does not resolve the problem, but ignores the non-critical error message.
    1. In the Microsoft Management Console (MMC) Application Center snap-in, right-click Events, click Properties, and then click Exclusions.
    2. In the Product field, type Windows, and then click Add.
    3. In the Add Event Exclusion dialog box, click to select Error. In the Source field, type Perflib. In the Event ID field, type 1008.
    4. Click OK in all dialog boxes.
    All future error messages of this type will not be displayed.


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:

  1. Open a command prompt, and then change to the %WinDir%\System32 directory.
  2. Type the following command, and then press ENTER:

    lodctr INI file name

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

  3. Repeat steps 1 and 2 for each service performance counter object that you want to install.

To display a list of all driver names and their associated .ini files:

  1. Open a command prompt.
  2. At the command prompt, type the following command, and then press ENTER:

    cd Systemroot\System32

  3. Type the following command, and then press ENTER.

    findstr drivername *.ini

  4. Note the name of the .ini file for each driver name in the list.

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

Counters for object name are already installed
Unable to update the system registry

To resolve this problem, follow these steps:

  1. At the command prompt, type the following command, and then press ENTER:

    unlodctr serviceName

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

    HKEY_LOCAL_MACHINE_SYSTEM\CurrentControlSet\Services\<serviceName>

  2. At the command prompt, type the following command, and then press ENTER:

    lodctr INI file name

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


REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

226494 Events for Performance Monitor extensions


Keywords: kbprb KB299059