Access is Denied when I try sending email at ASP.net on IIS6

From: Kent (kentjchen_at_shaw.ca)
Date: 10/27/03


Date: Mon, 27 Oct 2003 00:12:47 -0800

Hi all,
I just migrated my website to the IIS 6.0. Everything is
the same and everything is running perfect except I got
this error message "access is denied" when i try sending
email from the aspx page.
The whole message is like this:
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.

But i did put the right permissio on, still doesn't work.

Have you got this before? please advise

Kent



Relevant Pages

  • ASP.Net app error message when I try to access the component........
    ... I am getting the following error message. ... granting access rights to the resource to the ASP.NET request identity. ... Network Service on IIS 6) that is used if the application is not ... If the application is impersonating via <identity ...
    (microsoft.public.dotnet.framework.aspnet)
  • 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)
  • 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)
  • 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)
  • 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)