Sitecore没有读取/创建计数器的必要权限 [英] Sitecore has no necessary permissions for reading/creating counters

查看:77
本文介绍了Sitecore没有读取/创建计数器的必要权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Sitecore(6.6 v130404)日志文件中,有很多"Sitecore没有读取/创建计数器的必要权限".正在创建的记录.我已禁用服务器中的性能计数器.

In the Sitecore (6.6 v130404) log file there are so many "Sitecore has no necessary permissions for reading/creating counters." records being created. I have disabled the performance counters in the server.

 <!--  ENABLE COUNTERS
                Indicates if performance counters are enabled.
                Default value: true
  -->

<setting name="Counters.Enabled" value="false"/>

日志摘要:(每6秒不断更新日志)

Log extract: (For every 6seconds this keeps updating the log)

Heartbeat 19:07:33 WARN  Sitecore has no necessary permissions for reading/creating counters.
Heartbeat 19:07:39 WARN  Sitecore has no necessary permissions for reading/creating counters.
Heartbeat 19:07:45 WARN  Sitecore has no necessary permissions for reading/creating counters.
Heartbeat 19:07:51 WARN  Sitecore has no necessary permissions for reading/creating counters.

我已经修改了以下webconfig设置,并将该值设置为1hour,因为上面的日志提到它与心跳设置有关.

I have modified the following webconfig setting and set the value as 1hour, as the above log mentions that it's related to a heartbeat setting.

这解决了问题.在此设置中,此更改对我产生了任何影响,但没有找到任何结果.可以将此设置设置为1小时吗?此设置的目的是什么?

This solved the problem. I have Googled for any effects with this change in this setting, found no results on this. Is this ok to set this setting to 1hour? What is the purpose of this setting?

推荐答案

Sitecore应用程序池用户(很可能是网络服务用户)必须是系统性能监视器用户"组的成员可以访问提到的注册表项.将用户添加到该组并重新启动IIS应该可以解决问题.

A Sitecore application pool user (most probably Network Service user) has to be a member of the system "Performance Monitor Users" group to have access to the mentioned registry key. Adding the user to this group and restarting IIS should solve the problem.

这篇关于Sitecore没有读取/创建计数器的必要权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆