我的服务器每小时在事件查看器上显示此错误。
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-PerfCounters
Date: 03/10/14 9:07:42
Event ID: 2002
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: MyServer.MyDomain.local
Description:
Setting up Web Service counters failed, please make sure your Web Service counters are registered correctly.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-IIS-W3SVC-PerfCounters" Guid="{90303B54-419D-4081-A683-6DBCB532F261}" EventSourceName="W3CTRS" />
<EventID Qualifiers="49152">2002</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-10-03T12:07:42.000000000Z" />
<EventRecordID>2193581</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>MyServer.MyDomain.local</Computer>
<Security />
</System>
<EventData>
<Binary>02000780</Binary>
</EventData>
</Event>在网上搜索时,我发现很多文章都说“这个错误是因为注册表上的条目被破坏了”。我在Windows 2008或更高版本上找到了许多带有教程或技巧的网页来解决这个问题,但没有人在我的Windows 2012上工作。
以下是我遵循说明的一些页面:
你还有另一条关于我如何解决这个错误的建议吗?
提前感谢!
发布于 2014-10-06 12:32:13
我按照这个网页的说明:
我以前做过这个步骤,我不知道为什么“剪切和粘贴”从这个网站的步骤有效。这些命令是:
cd c:\Windows\Inf\W3SVC
lodctr .\0409\w3ctrs.ini之后,出现警告事件ID 2003。要解决此警告,我遵循以下指示:
输入以下命令:
lodctr /T:W3SVChttps://serverfault.com/questions/633325
复制相似问题