当前位置:操作系统 > 电脑通通透 >>

perfnet错误处理方法Windows cannot load extensible counter DLL

Windows cannot load extensible counter DLL MSSQLServerOLAPService, the first DWORD in data section is the Windows error code

perfnet错误操作系统是XP,今天在系统的事件查看器中,发现“应用程序”有PerfNet错误:

来源:PerfNet
类别:无
类型:错误
事件ID:2004
描述:无法打开服务器服务。服务器性能数据将不会被返回。返回的错误码是数据 DWORD 0。

解决办法:
禁用PerfNet性能计数器
①使用Windows 2000 Resource Kit Tool : Extensible Performance Counter List (exctrlst.exe)
你可以在这里下载到它:
http://download.microsoft.com/download/win2000platform/exctrlst/1.00.0.1/NT5/EN-US/exctrlst_setup.exe
运行exctrlst.exe,在Extensible Performance列表中选中PerfNet,取消紧靠该列表框下面的 Performance Counters Enabled 复选框。

②修改注册表禁用PerfNet性能计数器
运行regedit,切换到以下项目
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfNet\Performance
创建一个REG_DWORD双字节值名称为“Disable Performance Counters”值为1

什么原因形成这个错误,也不是很清楚,以期没有的。

=====================================================

TIPS-SideBySide Error Event
有台機器不定期出現以下錯誤:

Source: SideBySide
Event ID: 59
Resolve Partial Assembly failed for Microsoft.VC80.CRT.mui. Reference error message: Access is denied.
Source: SidebySide
EventID: 59
Generate Activation Context failed for D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\bin\msmdctr90.DLL. Reference error message: Access is denied.
查詢了一下,很幸運地找到一篇相同的問題,並且有Microsoft Online Community Support的回答。

依據文中的說法,問題出在Performance Log Users群組對
\Program Files\Microsoft SQL Server\MSSQL.1\mssql\binn
\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\bin
兩個目錄沒有讀取權限。檢查的結果,MSSQL.1\mssql\binn權限OK,但MSSQL.2\OLAP\bin的確沒有授予權限給Performance Log Users群組。

另外,在同一台機器上我還發現了一大堆Performance Counter Error Event: (有些可能與前面的權限問題有關,有些看起來又不像)

Source: Perflib
Event ID: 1008
The Open Procedure for service "ContentFilter" in DLL "C:\WINDOWS\System32\query.dll" failed. Performance data for this service will not be available. The Status code returned is the first DWORD in the attached data.
Source: Perflib
Event ID: 1005
Windows cannot access the file 푸ǖ for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program C:\WINDOWS\system32\sqlctr90.dll because of this error.
Program: C:\WINDOWS\system32\sqlctr90.dll
File: 푸ǖ
The error value is listed in the Additional Data section...(後略)
Source: Perflib
Event ID: 1018
Performance counter data collection from the "MSSQL$MICROSOFT##SSEE" service has been disabled for this session due to one or more errors generated by the performance counter library for that service. The error(s) that forced this action have been written to the application event log.
Source: Perflib
Event ID: 1023
Windows cannot load extensible counter DLL MSSQLServerOLAPService, the first DWORD in data section is the Windows error code.
Performance Counter的Error問題還挺常見的,今天找到Windows 2000 Resource Kit裡有個exctrlst.exe工具可以列出及停用某些損壞的Performance Counter,只要眼不見為淨,不失為一個良好的鋸箭法。

【下載】Extensible Performance Counter List(exctrlst.exe)
http://www.microsoft.com/downloads/details.aspx?familyid=7ff99683-b7ec-4da6-92ab-793193604ba4&displaylang=en

 

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,