Add Application Pools as Users with IIS7

 

To add a Application pool/web site as a user to set up read and write permissions.
Using:
Windows Server 2008 and IIS 7
 
add to Page_Load:
 
- Go to the folder you want to set permissions.
- Right click Properties and select Security Tab.
- Click Edit and next on Add.
- Enter IIS AppPool\name_of_applicationpool and check.
- Set the permissions.

To view Application Pools
- Open IIS Manager

- In the Connections pane, click Application Pools in the tree.