Re: Access Denied Error
From: Tim Clamp (TClamp@welcom.com)
Date: 04/09/03
- Next message: Tim Clamp: "ASP.NET Code access security"
- Previous message: John Gordon: "Cannot Write Exception to Event Log"
- In reply to: Eric Tan: "Re: Access Denied Error"
- Next in thread: Tim Clamp: "Re: Access Denied Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Tim Clamp" <TClamp@welcom.com> Date: Wed, 9 Apr 2003 10:29:09 -0700
The user that the ASPNET worker process is running under
does not have access to write to the registry. If this is
required, you may want to look into assigning the
permission to the ASPNET user. Increasing the permissions
of the ASPNET user is not suggested, as someone could
possibly wreak havoc on the server.
Tim Clamp
>-----Original Message-----
>
>Hi,
>
>i would like to find out how do i solve this?? i am
using WinXP and i had assign all the right to the aspnet
account and give the permission to all the folder under
the project..... the error is show below...
>Access to the registry key
HKEY_CLASSES_ROOT\usc_cfg_site.clsSiteConfig 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
HKEY_CLASSES_ROOT\usc_cfg_site.clsSiteConfig is denied.
>
>The ASP.NET process is not authorized to access the
requested resource. For security reasons the default
ASP.NET process identity is '{machinename}\ASPNET', which
has limited privileges. Consider granting access rights
to the resource to the ASP.NET process identity.
>
>To grant ASP.NET write access to a file, right-click the
file in Explorer, choose "Properties" and select the
Security tab. Click "Add" to add the "{machinename}
\ASPNET" user. Highlight the ASP.NET account, and check
the Write box in the Allow column.
>
>
>regards,
>Eric Tan
>
>
- Next message: Tim Clamp: "ASP.NET Code access security"
- Previous message: John Gordon: "Cannot Write Exception to Event Log"
- In reply to: Eric Tan: "Re: Access Denied Error"
- Next in thread: Tim Clamp: "Re: Access Denied Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|