在IIS 7.5 Asp.net的Web服务注册表访问 [英] Registry access for Asp.net web service in IIS 7.5

查看:139
本文介绍了在IIS 7.5 Asp.net的Web服务注册表访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我收到请求的注册表访问是不允许的。异常时,试图读取在Windows Server 2008 R2 64位版本的注册表项。

I am getting "Requested registry access is not allowed." exception when trying to read a registry key in Windows Server 2008 r2 64 bit edition.

我已经添加了IIS应用程序池管理员组中,但仍然得到同样的错误。

I have added the IIS application pool to Administrator group but still getting same error.

到目前为止Web的解决方案din't为我工作。

So far the solution on web din't work for me.

感谢。

推荐答案

这问题与发放必要的授权用户帐户的应用程序运行在做。要读取类似的情况,为正确的解决方案作出详细的答复,如记录由微软,随时访问这个帖子:的http://rambletech.word$p$pss.com/2011/10/17/requested-registry-access-is-not-allowed/

This issue has to do with granting the necessary authorization to the user account the application runs on. To read a similar situation and a detailed response for the correct solution, as documented by Microsoft, feel free to visit this post: http://rambletech.wordpress.com/2011/10/17/requested-registry-access-is-not-allowed/

(从上面到prevent链接腐)

(from above, to prevent link rot)


  1. 找到键HKEY_LOCAL_MACHINE \\系统\\ CurrentControlSet \\服务\\事件日志

  2. 右键单击,然后选择权限。

  3. 放入所需的帐户

又见 http://support.microsoft.com/kb/842795

这篇关于在IIS 7.5 Asp.net的Web服务注册表访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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