Hobbes Posted November 1, 2003 Posted November 1, 2003 Help! Somehow I kept getting the following exception. I am trying to send e-mail using the system.web.mail ??? Please help..... System.UnauthorizedAccessException: Access 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. :confused: :confused: Quote Hobbes...
Moderators Robby Posted November 2, 2003 Moderators Posted November 2, 2003 Are you doing this on your localhost? Also, did you follow this instructions of the error message? Quote Visit...Bassic Software
Hobbes Posted November 2, 2003 Author Posted November 2, 2003 I am doing this on a test site - europe.webmatrixhosting.net I tried the instruction on the error message but failed to find the security tab in the properties of the page. Thanks Quote Hobbes...
Administrators PlausiblyDamp Posted November 2, 2003 Administrators Posted November 2, 2003 Do you have access to the file system on the web server? If not this is something the hosting company will need to arrange Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.