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

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

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

    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
    Kent Guest

  2. Similar Questions and Discussions

    1. Access Denied when sending for review
      One of my users is getting an "Access Denied" message when attempting to send for review. I've verified that they have permission to read, write,...
    2. Access Denied after removing email account
      Yesterday we had our ISP remove an email account which belonged to a former employee who was our 'Contribute 3' Administrator. This morning I find I...
    3. ASP, Access db on IIS6
      I recently installed Windows 2003 Server Web Edition/IIS6. I put an ASP site that uses Access 2000. I have ASP extensions enabled in IIS. When I go...
    4. Please help with permission denied on IIS6
      I am developing an application on windows server 2003 which is a domain controler. When I run ASP.NET FileStream open and try and open a file which...
    5. Sending an Email From Within Access
      Is it possible to send an email from within an Access form? I would like to send one everytime a certain field is set to specific value. I...
  3. #2

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

    The difference between IIS 5.0 and 6.0 is that in IIS6.0 the asp.net
    applications are executed by w3wp.exe and by default its identity is
    configured as NETWORK SERVICE. May be this account doesnt have enough
    permissions to send email.

    You can download a tool called Filemon from [url]www.sysinternals.com[/url] and run it
    to see which process is getting the access denied and what is its identity.
    This will also tell you which file access failed.

    Hope this Helps.
    Imtiaz Hussain

    Imtiaz Hussain Guest

  4. #3

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

    Yeah, with this great tool's help, I fixed this problem.

    So appreciate what the information you gave.

    Kent
    >-----Original Message-----
    >The difference between IIS 5.0 and 6.0 is that in IIS6.0
    the asp.net
    >applications are executed by w3wp.exe and by default its
    identity is
    >configured as NETWORK SERVICE. May be this account
    doesnt have enough
    >permissions to send email.
    >
    >You can download a tool called Filemon from
    [url]www.sysinternals.com[/url] and run it
    >to see which process is getting the access denied and
    what is its identity.
    >This will also tell you which file access failed.
    >
    >Hope this Helps.
    >Imtiaz Hussain
    >
    >.
    >
    Kent Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139