Consider the following scenario. On a Microsoft Windows XP-based computer, you use Performance Monitor to collect data from Microsoft SQL Server 2005 Analysis Services performance counters. You try to log the counter data by using the performance logs and alerts. When you start to collect data, you notice that the counter data is not logged, and one or more events that are similar to the following are logged in the event log:
Event Type: Error Event Source: Perflib Event Category: None Event ID: 1023 Date: Date Time: Time User: N/A Computer: ComputerName Description: Windows cannot load extensible counter DLL ServiceName, the first DWORD in data section is the Windows error code.
Note Date and Time represent the time that the event occurs. ComputerName represents the name of the computer. ServiceName represents the name of the corresponding service for the SQL Server performance counters.
This problem occurs because the Performance Logs and Alerts service (Smlogsvc.exe) does not have sufficient permissions to access the performance counter DLL or the "bin" directory and "bin\en" directoryfor SQL Server 2005 Analysis Services.
On a Windows XP-based computer, the Performance Logs and Alerts service runs under the Network Service account. However, the Network Service account has limited permissions on the local computer. The Network Service account cannot access the performance counter DLL or the SQL Server 2005 Analysis Services "bin" directory and the "bin\en" directorywhen you collect data from SQL Server 2005 Analysis Services performance counters.
To resolve this problem, you must grant the Read & Execute permission to the Network Service account on the performance counter DLL for SQL Server 2005 Analysis Services. The DLL is located in the following folder: