ASP.Net app error message when I try to access the component........

From: Veeresh (Veer1989_at_hotmail.com)
Date: 07/09/04


Date: Fri, 9 Jul 2004 16:11:32 -0700

I am getting the following error message.

I have logged into the system using my user name into the network.

How to find out in which account ASP.Net is running?

I have given access permission to two files
(MyComponent.resx,MyComponent.vb). Not sure which files it wants the
permission.

Nish

Access to the registry key HKEY_CLASSES_ROOT\TransactionTesting.MyComponent
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\TransactionTesting.MyComponent 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 write 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.



Relevant Pages

  • Re: Access Denied
    ... Did you read the error message, and try the suggestions it gave you? ... Kristofer Gafvert - IIS MVP ... "Simon" wrote in message ... > execution of the current web request. ...
    (microsoft.public.inetserver.iis)
  • Access is Denied when I try sending email at ASP.net on IIS6
    ... I just migrated my website to the IIS 6.0. ... this error message "access is denied" when i try sending ... to the ASP.NET request identity. ... If the application is impersonating ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Azman System.UnauthorizedAccessException in web services
    ... I m using Winxp sp2 for development. ... granting access rights to the resource to the ASP.NET request identity. ... ASP.NET has a base process identity (typically \ASPNET on IIS ... If the application is impersonating via <identity ...
    (microsoft.public.dotnet.security)
  • Re: IIS
    ... That error means that you made a request for a URL that ends with a / (hence ... telling IIS to look up a default document to serve back), ... So, you either have two websites, one bound to LAN IP and the other to WAN ... Actual error message after switching off "Show friendly HTTP Error ...
    (microsoft.public.inetserver.iis.security)
  • ASP.NET and creating a word document
    ... to the ASP.NET request identity. ... Network Service on IIS 6) that is used if the application ... If the application is impersonating ...
    (microsoft.public.dotnet.framework.interop)