ASP.NET User Does Not Have Permissions to Your Application Folder

The ASPNET account needs full access permissions to these folders in order for your application to run:

Folder

Typical Location

Application Folder

C:\MyApp

C:\Inetpub\wwwroot\MyApp

Application sub-folders

All sub-folders within your application folder.

.NET Framework temporary folder

C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

Grant access permissions to these folders using this procedure for each folder:

Step 1: Open Windows Explorer by right-clicking on the Start menu and selecting Explore.

Step 2:  Navigate to the application folder on your hard drive, e.g.:

C:\inetpub\wwwroot\

Or

C:\MyApp23

Step 3:  Right-click the folder, select Properties, and then select the Security tab.

Note: if you don't see the Security tab, turn off Simple File Sharing in Tools>>Folder Options.

Step 4:  If the ASPNET user is listed, make sure it has Full permissions, click Apply, and then click OK.

Step 5:  If ASPNET is not listed, click Add, then click Locations and select your machine name.

Step 6:  Select ASPNET, click Add, and then click OK.

Step 7:  Give the user/group Full permissions in addition to the default permissions it is added with, click Apply, and then click OK.

Make sure permissions are applied to all sub-folders and files of the application folder.

See Also

Application Runs But No Data is Displayed