Registry access for Asp.net web service in IIS 7.5

12,809

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/

(from above, to prevent link rot)

  1. Find key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog”
  2. Right-click and choose “Permissions”.
  3. Put in the desired account

also see http://support.microsoft.com/kb/842795

Share:
12,809
fireBand
Author by

fireBand

Updated on June 05, 2022

Comments

  • fireBand
    fireBand almost 2 years

    HI,

    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.

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

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

    Thanks.