几天前升级 windows server 2008 R2 到 windows server 2012 R2, 在服务器管理器中收到报警:服务器管理器: 在可管理性-联机-数据检索失败。仪表板中角色和服务组,全部红色。
通过提示查看日志Microsoft-Windows-ServerManager-MgmtProvider/Operational.
日志消息:无法查询 bpa xpath (Microsoft/Windows/DHCPServer:$reports$*\Result.xml:/ResultDatabase/Result) 的结果。错误: 连到系统上的设备没有发挥作用。,上一个错误: 系统找不到指定的路径。
解决方案:
找到注册表:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DxpTaskRingtone/Analytic]
将:Microsoft-Windows-DxpTaskRingtone/Analytic目录项进行备份,然后删除它。重启或刷新服务器管理器,问题解决。仪表板中的角色和服务器组都变成绿色。
感谢国外站点提供资料参考,他们来自:
1:http://blog.cloud-client.info/?p=632
原文:
Tip: Fixing Windows Server 2012 upgrade to Server 2012 R2 Data retrieval issue in Server Manager
Hello Folks,
very often after an upgrade from Windows Server 2012 to Server 2012 R2 it can happen that you will receive an issue in the Server Manager telling you that you got an Data retrieval Error for one or more upgraded Servers.
This issue has, from my Point of view, nothing to do with User Rights or similar… It’s more related to a bad upgrade Routine (by the way, Windows 8.1 has the same issue after a upgrade but it’s not so annoying like in the Server Manager).
To verify that the fix will work for you open the EventViewer and browse to Administrative Events in Custom Views, if you now get an error pointing to Microsoft-Windows-DxpTaskRingtone/Analytic then you got it….
Open Regedit and search for: Microsoft-Windows-DxpTaskTone/Analytic
Delete all entries that are located in a /WINEVT/Channels path in the registry and related to Microsoft-Windows-DxpTaskTone/Analytic like HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DxpTaskRingtone/Analytic (make sure that it really is Microsoft-Windows-Dxp/Analytic!), you can export the entries before you delete it as backup.
Reboot the System or restart the Eventlog and WMI Service open the Server Manager and verify that the issue is gone now.
If not, check in the EventViewer again… If you got now a message pointing to Microsoft-Windows-Dxp/Analytic proceed like for DxpTaskTone.
Update: This has solved the issue for me after an upgrade in 4 of 5 cases. i the 5th case i was required to reinstall nearly every installed Serverrole… Iam not really sure to recommend a upgrade at all, until now i got 0 (zero) upgrades without any required interactions/issue at all.
Cheers
Michael
P.S.: Do only use this fix if you really got the DxpTaskRingtone message in the EventViewer, the fault can be also related to other issues and in this case the solution will not help you!!!
2.https://social.technet.microsoft.com/Forums/en-US/b9701061-f347-4a6b-a5a1-7ab0dc0857d1/server-manager-under-manageability-online-data-retrieval-failures-occurred
部份原文:
I had the same issues in the ServerManager-ManagementProvider logs but I had an additional error earlier in the log (around the same time frame)...
Generic failure querying the localized name for channel: Microsoft-Windows-DxpTaskRingtone/Analytic [hResult = Function failed during execution., hLastResult = The system cannot find the file specified.].
Looking at the log in Applications and Services Logs, Microsoft, Windows, DxpTaskRingtone/Analytic it cant open the log file. Note: This was listed exactly as typed even though it should have been Applications and Services Logs, Microsoft, Windows, DxpTaskRingtone, Analytic. I looked for the log file and sure enough it was not there. I looked at the registry entry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DxpTaskRingtone/Analytic]
"ChannelAccess"="O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
"Enabled"=dword:00000000
"Isolation"=dword:00000001
"OwningPublisher"="{3df0c2c1-5a04-4966-9790-df6ef0ccde9c}"
"Type"=dword:00000002
I compared this to other entries and didn‘t see any corruption. Looking at the Isolation and Type of other entries this should not even show up in the event log. I edited the name of the key and sure enough it disappeared from the event log. I changed the name back and it was still gone. I refreshed my Server Manager and still saw red. Just for shits and giggles I backed up the key and deleted it. With the key gone the server manager refreshes without error and all of my manageability icons are green.
Not sure if this helps anyone else but this was my fix. I am not sure what deleting this key is going to do down the road but apparently the event has something to do with VOIP ringtones so I‘m not worried.
原文地址:http://blog.51cto.com/52czy/2160501