Ask a Question related to ASP.NET Security, Design and Development.
-
Kent #1
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
-
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,... -
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... -
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... -
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... -
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... -
Imtiaz Hussain #2
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
-
Kent #3
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.
Kentthe asp.net>-----Original Message-----
>The difference between IIS 5.0 and 6.0 is that in IIS6.0identity is>applications are executed by w3wp.exe and by default itsdoesnt have enough>configured as NETWORK SERVICE. May be this account[url]www.sysinternals.com[/url] and run it>permissions to send email.
>
>You can download a tool called Filemon fromwhat is its identity.>to see which process is getting the access denied and>This will also tell you which file access failed.
>
>Hope this Helps.
>Imtiaz Hussain
>
>.
>Kent Guest



Reply With Quote

