Over the past couple of weeks I got to almost identical cases where the customer had the event log on their servers “spammed” by the following messages:
Event Type: Warning
Event Source: WinMgmt
Event Category: None
Event ID: 40
Date: <date>
Time: <time>
User: N/A
Computer: <computername>
Description:
WMI ADAP was unable to create the object Win32_PerfRawData_ASPNET_2050727_ASPNETAppsv2050727 for Performance Library ASP.NET_2.0.50727 because error 0x80041001 was returned
Event Type: Warning
Event Source: WinMgmt
Event Category: None
Event ID: 35
Date: <date>
Time: <time>
User: N/A
Computer: <computername>
Description:
WMI ADAP was unable to load the ASP.NET_2.0.50727 performance library because it returned invalid data: 0x0
Article How to troubleshoot WinMgmt-based performance counter errors does not help in this case (we do not have Event ID 37, 41 or 61).
The fix for this problem was scheduled to be added in .NET 3.5 SP1 (as also explained in this post) then we decided to ship a standalone hotfix too: the KB article is not yet available but you can request the fix (which by the way resolved both my cases) to CSS as usual, asking for 951683.
Carlo
Quote of the day:
Always do right. This will gratify some people and astonish the rest. – Mark Twain