Access denied to ASPNET user

Hi,

I have a web application in my machine. When I try to browse it in IE I get the error given below. "{MachineName}\ASPNET" is an Administrator user in the machine. Also I have granted it full control on c:\windows\microsoft.net\framework\v1.1.4322 folder and all its sub folders. It has access to the root directory as well. Please tell me how to fix this?

Server Error in '/SomeName' Application.


Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\trainingportal\f7b93b8d\3b795baa" 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 path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\trainingportal\f7b93b8d\3b795baa" 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.

Regards,

Gayathri.

Read More

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s