none
Perflib complaining about 32-bit asp.net dll in 64-bit environment

    Question

  • This started after .NET security update (December or November). I haven't installed anything on those servers recently, so i think this started after .NET update. Now i get lots of errors like:

    windows cannot open the 32-bit extensible counter dll asp.net 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.

    disabled performance counter data collection for this session from the "asp.net" 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.

    ids 1021 and 1018

    Both servers are Windows Server 2008 Enterprise 64-bit. I have ran the command to rebuild the counters, but this doesn't help. We are not using anything .NET specific, this is just a built-in .NET installation. One server is using WSUS, another is with AD RMS service.
    • Edited by wrootw Thursday, December 27, 2012 8:48 AM
    Thursday, December 27, 2012 8:48 AM

All replies

  • Have you apply the below resolutions.

    1.Event ID 1018 — Performance Library Availability
    http://technet.microsoft.com/en-us/library/cc775059(v=ws.10).aspx

    2.Event ID 1021 — Performance Library Availability
    http://technet.microsoft.com/en-us/library/cc727079(v=ws.10).aspx

     


    Thanks

    Thursday, December 27, 2012 8:07 PM
  • Resolutions for both events are the same, so i will follow the first one.

    1. I believe MS is the vendor of asp.net dll, so skipping the step about contacting the vendor.

    2. Remote Registry serice is and was in Started mode.

    3. It is not a Vista (though Windows Server 2008 shares same codebase) but File and Printer Sharing exception was selected in the Firewall.

    4. The application is running as a user with insufficient privileges
    I'm not currently running any performance counters on this server. On this particular server only AD RMS role is running (with a user which has local admin rights on this server). I'm not sure it is using .NET or ASP. Maybe for certificates site. It is doing this for years and nothing has been changed recently.

    5. Rebuild the list of performance counters - have already tried this. Ho help.

    6. Re-enable a required DLL

    I have tried to run required command for every dll name mentioned in the logs. Will wait to see if it helped.

    Microsoft Windows [Version 6.0.6002]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>lodctr /e:asp.net_64
    C:\Windows\system32>lodctr /e:asp.net_64_2.0.50727
    C:\Windows\system32>lodctr /e:asp.net
    C:\Windows\system32>lodctr /e:asp.net_state

    As about other steps, i see no point adding any users to performance counter groups etc. as i don't run performance counters and didn't do any changes except for installing latest security updates and i think as usually it is something that those updates broke in the .NET installation..

    Btw, there are more logs:

    1022
    windows cannot open the 64-bit extensible counter dll asp.net_64 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.

    1017
    disabled performance counter data collection from the "asp.net_64" 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.

    1021
    windows cannot open the 32-bit extensible counter dll asp.net_2.0.50727 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.

    1018
    disabled performance counter data collection for this session from the "asp.net_2.0.50727" 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.

    Friday, December 28, 2012 9:08 AM
  • Hi,

    Thank you for the post.

    You may perform the following steps and see if it works:

    1. Try to reinstall ASP.Net:

       32 bit: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -iru

       64 bit: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis.exe -iru

    2. Try to rebuild the performance counters:

      "lodctr /R" will rebuild all performance counters.

     

    3. To rebuild just the .Net counters the following can be used:

       lodctr /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ corperfmonsymbols.ini"

    4. To rebuild just the ASP.Net counters the following can be used:

       lodctr /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.ini"

    Additional Information

    How to switch between the 32-bit versions of ASP.NET 1.1 and the 64-bit version of ASP.NET 2.0 on a 64-bit version of Windows

    http://support.microsoft.com/kb/894435

    Regards,


    Nick Gu - MSFT

    Wednesday, January 02, 2013 3:22 AM
    Moderator
  • I will try all 4 options today and will check on Monday if that helps. I don't understand about the switching though. I didn't install any .NET, it is only the built-in .NET 3.5 that we have, unless something additional was installed as a IIS role pre-requisite. Then i think it should be installed and configured correctly by Server Manager.

    1 and 2 went fine (64 bit).

    3. C:\Windows\Microsoft.NET\Framework64\v2.0.50727>lodctr /R:"C:\WINDOWS\Microsoft.
    NET\Framework\v2.0.50727\corperfmonsymbols.ini"

    Error: Unable to restore performance counter setting from backup file C:\WINDOWS
    \Microsoft.NET\Framework\v2.0.50727\corperfmonsymbols.ini, error code is 1006

    4. C:\Windows\Microsoft.NET\Framework64\v2.0.50727>lodctr /R:"C:\WINDOWS\Microsoft.
    NET\Framework\v2.0.50727\aspnet_perf.ini"

    Error: Unable to restore performance counter setting from backup file C:\WINDOWS
    \Microsoft.NET\Framework\v2.0.50727\aspnet_perf.ini, error code is 1006
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727>

    Friday, January 04, 2013 1:48 PM
  • Few days it was quiet. 01.07 i see such errors:

    1     microsoft-windows-perflib     application     1008     the open procedure for service ".netframework" in dll "c:\windows\system32\mscoree.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     07 Jan 2013, 10:24:01     [Filter]
    2     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net 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.     07 Jan 2013, 10:24:01     [Filter]
    3     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net" 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.     07 Jan 2013, 10:24:01     [Filter]
    4     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net_2.0.50727 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.     07 Jan 2013, 10:24:01     [Filter]
    5     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net_2.0.50727" 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.     07 Jan 2013, 10:24:01     [Filter]
    6     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     07 Jan 2013, 10:24:01     [Filter]
    7     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64_2.0.50727" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     07 Jan 2013, 10:24:01     [Filter]
    8     microsoft-windows-perflib     application     1008     the open procedure for service "aspnet_state" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     07 Jan 2013, 10:24:01     [Filter]
    9     microsoft-windows-perflib     application     1008     the open procedure for service "esent" in dll "c:\windows\system32\esentprf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     07 Jan 2013, 10:24:01     [Filter]
    10     iisinfoctrs     application     1001     unable to read the first counter index value from the registry. the error code returned by the registry is data dword 0.     07 Jan 2013, 10:24:01     [Filter]

    Looks like counter got even more messed up after the reinstall and rebuilding. No errors since then though. Will wait another few days. Maybe it will come up again.

    Wednesday, January 09, 2013 6:57 AM
  • So, it is even worse now after reinstalling asp.net and rebuilding counters. Now i get a lot more errors. Waiting for a solution

    .microsoft-windows-perflib     application     1008     the open procedure for service ".netframework" in dll "c:\windows\system32\mscoree.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    2     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net 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.     10 Jan 2013, 10:00:08     [Filter]
    3     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net" 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.     10 Jan 2013, 10:00:08     [Filter]
    4     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net_2.0.50727 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.     10 Jan 2013, 10:00:08     [Filter]
    5     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net_2.0.50727" 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.     10 Jan 2013, 10:00:08     [Filter]
    6     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    7     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64_2.0.50727" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    8     microsoft-windows-perflib     application     1008     the open procedure for service "aspnet_state" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    9     microsoft-windows-perflib     application     1008     the open procedure for service "esent" in dll "c:\windows\system32\esentprf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    10     iisinfoctrs     application     1001     unable to read the first counter index value from the registry. the error code returned by the registry is data dword 0.     10 Jan 2013, 10:00:08     [Filter]
    11     microsoft-windows-perflib     application     1008     the open procedure for service "inetinfo" in dll "c:\windows\system32\infoctrs.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    12     microsoft-windows-perflib     application     1008     the open procedure for service "msdtc" in dll "c:\windows\system32\msdtcuiu.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    13     microsoft-windows-perflib     application     1008     the open procedure for service "mssql$microsoft##ssee" in dll "c:\windows\system32\sqlctr90.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:08     [Filter]
    14     microsoft-windows-perflib     application     1008     the open procedure for service "psched" in dll "c:\windows\system32\pacerprf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:09     [Filter]
    15     microsoft-windows-perflib     application     1008     the open procedure for service "remoteaccess" in dll "c:\windows\system32\rasctrs.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:09     [Filter]
    16     microsoft-windows-perflib     application     1023     windows cannot load the extensible counter dll termservice. the first four bytes (dword) of the data section contains the windows error code.     10 Jan 2013, 10:00:10     [Filter]
    17     usbperf     application     2001     unable to read the "first counter" value under the usbperf\performance key. status codes returned in data.     10 Jan 2013, 10:00:10     [Filter]
    18     microsoft-windows-perflib     application     1008     the open procedure for service "usbhub" in dll "c:\windows\system32\usbperf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:10     [Filter]
    19     microsoft-windows-iis-w3svc-perfcounters     application     2002     setting up web service counters failed, please make sure your web service counters are registered correctly.     10 Jan 2013, 10:00:10     [Filter]
    20     microsoft-windows-perflib     application     1008     the open procedure for service "w3svc" in dll "c:\windows\system32\inetsrv\w3ctrs.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:10     [Filter]
    21     microsoft-windows-perflib     application     1008     the open procedure for service ".netframework" in dll "c:\windows\system32\mscoree.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    22     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net 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.     10 Jan 2013, 10:00:12     [Filter]
    23     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net" 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.     10 Jan 2013, 10:00:12     [Filter]
    24     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net_2.0.50727 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.     10 Jan 2013, 10:00:12     [Filter]
    25     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net_2.0.50727" 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.     10 Jan 2013, 10:00:12     [Filter]
    26     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    27     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64_2.0.50727" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    28     microsoft-windows-perflib     application     1008     the open procedure for service "aspnet_state" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    29     microsoft-windows-perflib     application     1008     the open procedure for service "esent" in dll "c:\windows\system32\esentprf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    30     iisinfoctrs     application     1001     unable to read the first counter index value from the registry. the error code returned by the registry is data dword 0.     10 Jan 2013, 10:00:12     [Filter]
    31     microsoft-windows-perflib     application     1008     the open procedure for service "inetinfo" in dll "c:\windows\system32\infoctrs.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    32     microsoft-windows-perflib     application     1008     the open procedure for service "msdtc" in dll "c:\windows\system32\msdtcuiu.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    33     microsoft-windows-perflib     application     1008     the open procedure for service "mssql$microsoft##ssee" in dll "c:\windows\system32\sqlctr90.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:12     [Filter]
    34     microsoft-windows-perflib     application     1008     the open procedure for service "psched" in dll "c:\windows\system32\pacerprf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:13     [Filter]
    35     microsoft-windows-perflib     application     1008     the open procedure for service "remoteaccess" in dll "c:\windows\system32\rasctrs.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:13     [Filter]
    36     microsoft-windows-perflib     application     1023     windows cannot load the extensible counter dll termservice. the first four bytes (dword) of the data section contains the windows error code.     10 Jan 2013, 10:00:13     [Filter]
    37     usbperf     application     2001     unable to read the "first counter" value under the usbperf\performance key. status codes returned in data.     10 Jan 2013, 10:00:13     [Filter]
    38     microsoft-windows-perflib     application     1008     the open procedure for service "usbhub" in dll "c:\windows\system32\usbperf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:13     [Filter]
    39     microsoft-windows-iis-w3svc-perfcounters     application     2002     setting up web service counters failed, please make sure your web service counters are registered correctly.     10 Jan 2013, 10:00:13     [Filter]
    40     microsoft-windows-perflib     application     1008     the open procedure for service "w3svc" in dll "c:\windows\system32\inetsrv\w3ctrs.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     10 Jan 2013, 10:00:13     [Filter]
    41     microsoft-windows-perflib     application     1008     the open procedure for service ".netframework" in dll "c:\windows\system32\mscoree.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     09 Jan 2013, 09:39:33     [Filter]
    42     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net 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.     09 Jan 2013, 09:39:33     [Filter]
    43     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net" 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.     09 Jan 2013, 09:39:33     [Filter]
    44     microsoft-windows-perflib     application     1021     windows cannot open the 32-bit extensible counter dll asp.net_2.0.50727 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.     09 Jan 2013, 09:39:33     [Filter]
    45     microsoft-windows-perflib     application     1018     disabled performance counter data collection for this session from the "asp.net_2.0.50727" 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.     09 Jan 2013, 09:39:33     [Filter]
    46     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     09 Jan 2013, 09:39:33     [Filter]
    47     microsoft-windows-perflib     application     1008     the open procedure for service "asp.net_64_2.0.50727" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     09 Jan 2013, 09:39:33     [Filter]
    48     microsoft-windows-perflib     application     1008     the open procedure for service "aspnet_state" in dll "c:\windows\microsoft.net\framework64\v2.0.50727\aspnet_perf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     09 Jan 2013, 09:39:33     [Filter]
    49     microsoft-windows-perflib     application     1008     the open procedure for service "esent" in dll "c:\windows\system32\esentprf.dll" failed. performance data for this service will not be available. the first four bytes (dword) of the data section contains the error code.     09 Jan 2013, 09:39:33     [Filter]
    50     iisinfoctrs     application     1001     unable to read the first counter index value from the registry. the error code returned by the registry is data dword 0.

    Friday, January 11, 2013 9:06 AM
  • Hi 

    I would suspect either a registry corruption ( root cause unknown ) , corrupt may be missing values and not strict replacement via any 3rd party application.

    can you get a clean boot on the server and remove any 3rd party products installed on the server ? - I am trying to get a clean build as much as possible.

    I reckon about the issue several posters earlier and even the rebuilt of servers didn't resolve the issue. ( specifically with asp 2.0 )

    can you confirm if hklm\software\Microsoft\windowsnt\currentversion\perflib -> do you see disable performance counters set to 1 or 0 ?

    to enable set it to 0 and run the above command given by Nick Gu .

    if issue still exists , try rebuilding the counters manually http://support.microsoft.com/kb/300956?wa=wsignin1.0

    or

    Inplace upgrade of OS

    Friday, January 11, 2013 11:21 AM
    Moderator
  • 3rd party software on this server is Symantec Endpoint Protection antivirus and Symantec BackupExec agent. They were here all the time and hasn't been updated for a long time (only the definitions update, and there were no reports about deleting anything by the antivirus). Uninstalling them would be the last thing i try. I don't believe they are the root cause. Most probably that would be flawed windows security updates. Will try manual counters rebuilding later.
    Saturday, January 12, 2013 11:47 AM
  • Oh, and there is no such registry entry on my machine (disable performance counters).
    Saturday, January 12, 2013 11:50 AM
  • try rebuilding the counters manually http://support.microsoft.com/kb/300956?wa=wsignin1.0

    Stuck on the first step:

    1. Expand the Perfc009.dat file and the Perfh009.dat file. These files are located on the Windows Installation Disc. The compressed files are found at <var>DriveLetter</var>:\i386\perfc009.da_ and at <var>DriveLetter</var>:\i386\perfh009.da_. Replace the files that are in the %Systemroot%\System32 folder.

    This is Windows Server 2008 Enterprise 64-bit OS. I have mounted its iso file, but there is no such folder (i386). So should i copy files from 32-bit operating system installation iso? I have found such files in Windows Server 2003 R2 32-bit iso, but i'm not sure i should copy them.

    Monday, January 28, 2013 11:28 AM
  • Any ideas? One of the suggestions just made the situation worse. And now i don't know how to follow the last advice as instructions on technet site are unclear.
    Monday, February 18, 2013 11:10 AM
  • I have exactly same problem on my Server 2012 with Sharepoint 2013.

    It is gone after I make DWORD registry key "Disable Performance Counters" with "1" as value in these places:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_2.0.50727\Performance\

    and

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmiApRpl\Performance\

    Note: If you work on 32-bit system, you need to disable 64-bit versions of libraries.

    PS. I know that it is not a solution, but it good workaround for some time.

    PPS. And don't forget about "sfc /scannow" :)


    Wednesday, February 27, 2013 2:17 PM
  • Andrey, I am experiencing the same issue on my Server 2012 with SharePoint 2013... must be something Microsoft needs to fix I guess. Let me know if you find anything else but for now I'll go with your approach and disable the counters, lol.

    Juan Carlos

    Saturday, March 16, 2013 3:07 PM
  • I believe the issue is missing/corrupt asp.net performance counters.

    So far, following instructions here fixed it:

    http://blogs.msdn.com/b/tom/archive/2008/04/11/asp-net-performance-counters-missing.aspx

    I followed the instructions, up to the point of rebuilding the x6y4 perf counter. . .
    I was missing HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_64

    I exported the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET

    I opened the file and Manually edited the key names, adding   "_64"

    Was able to rebuild that performance counter as well.

    Can't guarantee it worked, but so far, so good.


    gimme some slamming techno!!!!

    Friday, May 03, 2013 12:00 AM
  • Disregard... that didn't work

    gimme some slamming techno!!!!

    Friday, May 03, 2013 12:57 AM
  • I'm receiving the same errors on my Server 2012 and SharePoint 2013 server. I've done the above and have not had anything luck yet removing these errors.

    I have just run the following and haven't seen an error from it in 15 minutes, so it might have done it: lodctr.exe /e:FIMSynchronizationService

    I found that from the event log saying it couldn't log that DLL prior to the other event being logged.

    Wednesday, September 04, 2013 5:45 PM
  • Well the others have went away, but the similar error with FIMSynchronizationService still exists.  One of the previous fixes must have fixed it.  The Excel services crashed and was restarted because after running the performance counter resets it started to throw a lot of uls error logs.
    Wednesday, September 04, 2013 8:40 PM
  • Did you find the fix?



    Please “Vote As Helpful” and/or “Mark As Answer” if this post helped you.

    Thursday, October 24, 2013 6:43 PM
  • Nope. Though i didn't try that registry hacking thing, because i don't want to risk the server and.. i think MS experts should step up and provide the real fix for this mess..
    Thursday, October 24, 2013 7:02 PM
  • Add me to the list.  Brand new installation of Server 2012R2 and Sharepoint Server 2013.  Pretty much all the errors above are occurring on an hourly basis.

    Friday, January 10, 2014 7:14 AM
  • I have the same Perflib error messages on a new installation of Win Server 2012R2 and Sharepoint Server 2013 with SP1.  Perflib error 1021, 1018, 1008 and PerfNet error 2004.
    Monday, March 10, 2014 3:52 PM
  • Same here. (2012 and SharePoint 2013)
    • Edited by RJMPhD Thursday, March 20, 2014 1:58 PM
    Thursday, March 20, 2014 1:57 PM
  • Same here with 2012 and SharePoint 2013. I've also Performance issues with SharePoint (page load times between 1.8 and 2 seconds with an empty SP 2013 foundation with 8 GB RAM)
    Wednesday, April 16, 2014 8:55 PM