Call Savance Workplace Call Us: (248) 478-2555

Support Suite

User Login



 

Main

Knowledgebase: Technical
ASP.NET Permissions Issue
Posted by Savance on 29 November 2010 11:51 AM

When accessing the EIOBoard Browser Interface, you may see an error similar to the following:

Server Error in '/' Application.
--------------------------------------------------------------------------------

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
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.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

This may happen if the permissions for ASP.NET have changed.  There are three potential fixes for this issue.

The first thing to try is to do a repair of ASP.Net to register itself in IIS. You can do this by opening Command Prompt and entering the following:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i

If this does not work, you can specifically grant access by running the following command in Command Prompt:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215>aspnet_regiis -ga "NT Authority\Network Service"

The third thing to try if it still is not working is to manually grant full accesses for "NETWORK SERVICE" on the "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" folder, or whichever folder was specified in the error message.