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:
- 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
- To reinstall using PowerShell, run the following command:
- 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:
Repeat this for the Framework64 path if necessary.cd C:\Windows\Microsoft.NET\Framework\v2.0.50727 aspnet_regiis.exe -i - Check for Corruption: If the DLL files are present but corrupted, you may need to replace them. You can copy the
aspnet_perf.dllfrom a working system or reinstall the .NET Framework to restore these files. - 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
lodctrcommand. - 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.