Access to the registry key 'Global' is denied.

Discussion in 'ASP.NET / ASP.NET Core' started by dological, Mar 4, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi i want to set up a asp.net application but appears this error. Im really dont know what is about! I think is about permision in my shared hosting.
    Can you help with some opinion article or whatever! Please!!
    Thanks so much.
    Have a nice day

    Note. I really tryied so hard to resolve it by myself but i cant!

    Access to the registry key 'Global' is denied.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.UnauthorizedAccessException: Access to the registry key 'Global' is denied.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    from the error, it looks like your application is trying to read / write to the registry which is prohibited.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page