Message: Access to the registry key 'Global' is denied.

具体问题请看链接:http://bbs.csdn.net/topics/390985464

最终处理方式:

1:将网站的应用池改为:DefaultAppPool。

2:选中应用池--高级设置--选择 NetworkService 或者Local System

然后就可以正常访问了。


网上找到的其他处理方式:

If you are seeing the following filling up your Sitecore log files, please following these steps to resolve the permission issue.

Exception: System.UnauthorizedAccessException
Message: Access to the registry key 'Global' is denied.
Source: mscorlib
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity)
   at Microsoft.Win32.RegistryKey.GetValue(String name)
   at System.Diagnostics.PerformanceMonitor.GetData(String item)
   at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
   at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
   at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
   at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
   at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName)
   at Sitecore.Diagnostics.PerformanceCounters.PerformanceCounter.CanBeCreated()
   at Sitecore.Diagnostics.PerformanceCounters.PerformanceCounter.InitializeCounter(Boolean reset)

  1. Open Computer Management - System Tools - Local Users and Groups - Groups - Performance Log Users
  2. Add the identity to the Performance Log Users group. The challenge is the getting the correct identity.  Check your Application Pool for the Identity.  If you are using ApplicationPoolIdentity, continue with the following steps.
  3. Instead of adding a local user, ApplicationPoolIdentity is not an actual user that exists, it is virtual.  To add it, use the pattern, IIS AppPool\AppPoolName where AppPoolName is the name of the Application Pool.  For example, IIS AppPool\MySitecoreSite
  4. In order for the changes to take affect, you need to either restart IIS or Stop and Start the Application Pool.  Recycling the Application Pool will not make the changes take affect.

Here is a link for more information about Application Pool Identities.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值