Performance Library Availability

Applies To: Windows Server 2008 R2

Performance counters, including those built in to the operating system and those provided by non-Microsoft vendors, are combined in the Performance Library. Performance monitoring applications such as Windows Reliability and Performance Monitor use the Performance Library to identify available counters and map to counter providers. Errors accessing the Performance Library may result in application errors when expected data cannot be found, or when expected data providers are unavailable.

Events

Event ID Source Message

1000

Microsoft-Windows-Perflib

Access to performance data was denied to %1!s! as attempted from %2!s!. %1!s! is the value from GetUserName(), which is the user account that the thread runs. %2!s! is the value from GetModuleFileName(), which is the binary module name that issues the query.

1001

Microsoft-Windows-Perflib

The buffer size returned by a collect procedure in Extensible Counter DLL "%1!s!" for the "%2!s!" service was larger than the space available. The performance data returned by the counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the returned buffer size.

1002

Microsoft-Windows-Perflib

A Guard Page was modified by a collect procedure in Extensible Counter DLL "%1!s!" for the "%2!s!" service. The performance data returned by the counter DLL will not be returned in the Perf Data Block.

1003

Microsoft-Windows-Perflib

The object length of an object returned by Extensible Counter DLL "%1!s!" for the "%2!s!" service was not correct. The sum of the object lengths returned did not match the size of the buffer returned. The performance data returned by the counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the count of objects.

1004

Microsoft-Windows-Perflib

The instance length of an object returned by Extensible Counter DLL "%1!s!" for the "%2!s!" service was not correct. The sum of the instance lengths plus the object definition structures did not match the size of the object. The performance data returned by the counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the object title index of the bad object.

1005

Microsoft-Windows-Perflib

Unable to locate the open procedure "%1!s!" in DLL "%2!s!" for the "%3!s!" service. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

1006

Microsoft-Windows-Perflib

Unable to locate the collect procedure "%1!s!" in DLL "%2!s!" for the "%3!s!" service. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

1007

Microsoft-Windows-Perflib

Unable to locate the close procedure "%1!s!" in DLL "%2!s!" for the "%3!s!" service. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

1008

Microsoft-Windows-Perflib

The Open Procedure for service "%1!s!" in DLL "%2!s!" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

1009

Microsoft-Windows-Perflib

The Open Procedure for service "%1!s!" in DLL "%2!s!" generated an exception. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the exception code.

1010

Microsoft-Windows-Perflib

The Collect Procedure for the "%1!s!" service in DLL "%2!s!" generated an exception or returned an invalid status. The performance data returned by the counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the exception code or status code.

1013

Microsoft-Windows-Perflib

The collect procedure in Extensible Counter DLL "%1!s!" for the "%2!s!" service returned a buffer that was larger than the space allocated and may have corrupted the application's heap. This DLL should be disabled or removed from the system until the problem has been corrected to prevent further corruption. The application accessing this performance data should be restarted. The performance data returned by the counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the overflow size.

1015

Microsoft-Windows-Perflib

The performance data collection function "%1!s!" in the "%2!s!" library did not complete in the allowed time. There may be a problem with this extensible counter, the service from which the counter is collecting data, or the system may have been very busy when this call was attempted.

1016

Microsoft-Windows-Perflib

The data buffer created for the "%1!s!" service in the "%2!s!" library is not aligned on an 8-byte boundary. This may cause problems for applications that are trying to read the performance data buffer. Contact the manufacturer of this library or service to have this problem corrected or to get a newer version of this library.

1017

Microsoft-Windows-Perflib

Disabled performance counter data collection from the "%1!s!" service because the performance counter library for that service has generated one or more errors. The errors that forced this action have been written to the application event log. Correct the errors before enabling the performance counters for this service.

1018

Microsoft-Windows-Perflib

Disabled performance counter data collection for this session from the "%1!s!" service because the performance counter library for that service has generated one or more errors. The errors that forced this action have been written to the application event log.

1019

Microsoft-Windows-Perflib

A definition field in an object returned by Extensible Counter DLL "%1!s!" for the "%2!s!" service was not correct. The sum of the definitions block lengths in the object definition structures did not match the size specified in the object definition header. The performance data returned by this counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the object title index of the unsupported object.

1020

Microsoft-Windows-Perflib

The required buffer size is greater than the buffer size passed to the collect function of the "%1!s!" Extensible Counter DLL for the "%2!s!" service. The first four bytes (DWORD) of the Data section contains the given buffer size and the second four bytes (DWORD) contains the required size.

1021

Microsoft-Windows-Perflib

Windows cannot open the 32-bit extensible counter DLL %1 in a 64-bit environment. Contact the file vendor to obtain a 64-bit version. Alternatively, you can open the 32-bit extensible counter DLL by using the 32-bit version of Performance Monitor. To use this tool, open the Windows folder, open the Syswow64 folder, and then start Perfmon.exe.

1022

Microsoft-Windows-Perflib

Windows cannot open the 64-bit extensible counter DLL %1 in a 32-bit environment. Contact the file vendor to obtain a 32-bit version. Alternatively if you are running a 64-bit native environment, you can open the 64-bit extensible counter DLL by using the 64-bit version of Performance Monitor. To use this tool, open the Windows folder, open the System32 folder, and then start Perfmon.exe.

1023

Microsoft-Windows-Perflib

Windows cannot load the extensible counter DLL %1. The first four bytes (DWORD) of the Data section contains the Windows error code.

2000

Microsoft-Windows-Perflib

The returned pointer did not match the buffer length returned by the Collect procedure for the "%1!s!" service in Extensible Counter DLL "%2!s!". The length will be adjusted to match the buffer length and the performance data will appear in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the returned length and the second four bytes (DWORD) the new length.

2001

Microsoft-Windows-Perflib

The "%1!s!" service does not have a Performance subkey or the key could not be opened. No performance counters will be collected for this service. The Win32 error code is returned in the first DWORD in the attached data in the data section.

2002

Microsoft-Windows-Perflib

The open procedure for service "%1!s!" in DLL "%2!s!" did not complete in the allowed time. There may be a problem with this extensible counter, the service from which the counter is collecting data, or the system may have been very busy when this call was attempted.

2003

Microsoft-Windows-Perflib

The configuration information of the performance library "%1!s!" for the "%2!s!" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted.

3002

Microsoft-Windows-Perflib

The number of objects allowed in a performance library has exceeded the maximum supported.

3003

Microsoft-Windows-Perflib

Unable to find the %1!s! Procedure name in the registry for service "%2!s!". Check the application event log to make sure there were no problems encountered during installation of the "%2!s!" service and reinstall its performance counter DLL.

3004

Microsoft-Windows-Perflib

Unable to find valid registry value "%1!s!" in the registry for service "%2!s!". Check the application event log to make sure there were no problems encountered during installation of the "%2!s!" service and reinstall its performance counter DLL.

Performance Subsystem

Management Infrastructure