ASPNET Account Permission Check

Checks that the ASP.NET account has permission to access necessary directories as well as impersonation privileges.

To run ASP.NET Application and Web services, the ASP.NET account requires special permissions. The following Access Control Lists (ACLs) are required for the ASP.NET account. The default installation of the Microsoft .NET Framework includes these ACLs:

Location Permission
%installroot%\Temporary ASP.NET Files Read/Write and List Folder Contents
%windir%\temp Read/Write
Web site root Read
%installroot% hierarchy Read
%driveroot%\Program Files Read
%windir%\assembly Read

Solution 1

    Repair the Microsoft .NET Framework.

  1. Launch the Windows Control Panel.
  2. In the Control Panel, under the Programs category, select Uninstall a program.
  3. In the Add or Remove Programs dialog, select Microsoft .NET Framework 4.5.1.
  4. Click Uninstall/Change.
  5. You are prompted to verify removing the Microsoft .NET Framework. Click Yes. Once the Microsoft .NET Framework 4.5.1 is removed, continue with the installation. The .NET Framework will be automatically re-installed.

Solution 2

Verify the ASP.NET account has access to the locations listed above. The ASP.NET account has a different name depending on the system configuration:

Enforce an update of computer policy

  1. At a command prompt, enter: secedit /refreshpolicy machine_policy /enforce
  2. At the command prompt, enter: iisreset