event id =1023 issue.

dohyoung woo 0 Reputation points
2025-12-04T05:26:44.2633333+00:00

Hello, I'm using Windows Server 2022. I'm currently receiving an error in Event Viewer with Event ID 1023. I'm receiving two similar errors.

One is: Windows cannot load the extensible counter DLL "C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll". (Win32 error code: "The specified module could not be found.").

The other is: Windows cannot load the extensible counter DLL "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_perf.dll" (Win32 error code: "The specified module could not be found.").

Please advise me on how to resolve this issue.

Moderator note: Moved from System Center Service Manager

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-12-04T05:26:53.0033333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The errors you are encountering with Event ID 1023 indicate that Windows is unable to load the specified extensible counter DLL files for ASP.NET. This typically happens when the DLL files are missing or not registered correctly. Here are steps you can take to resolve this issue:

    1. Reinstall ASP.NET: You can try to repair or reinstall the ASP.NET feature on your Windows Server. This can often restore any missing DLLs. You can do this via the Windows Features dialog or using PowerShell.
      • To reinstall using PowerShell, run the following command:
             Install-WindowsFeature -Name Web-Asp-Net45
        
    2. Register the DLLs: If the DLLs exist but are not registered, you can manually register them using the command prompt. Open an elevated command prompt and run:
         cd C:\Windows\Microsoft.NET\Framework\v2.0.50727
         aspnet_regiis.exe -i
      
      Repeat this for the Framework64 path if necessary.
    3. Check for Corruption: If the DLL files are present but corrupted, you may need to replace them. You can copy the aspnet_perf.dll from a working system or reinstall the .NET Framework to restore these files.
    4. Rebuild Performance Counters: If the issue persists, you may need to rebuild the performance counter library values. You can follow the steps outlined in the Microsoft documentation for rebuilding performance counters, which may involve using the lodctr command.
    5. Check Event Viewer for Additional Errors: Look for other related errors in the Event Viewer that might give more context about the issue.

    Following these steps should help resolve the errors you are experiencing with Event ID 1023.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.