To create, write, or modify files on server you need to be an Administrator user to change file permissions.
- Start Windows Explorer (not the IIS Manager) and find the
YourWebApplicationVirtualDirectory directory that you are using. If
you are using a virtual directory, then you will typically use the
YourWebApplicationVirtualDirectory installation directory, eg:
C:\inetpub\wwwroot\YourWebApplicationVirtualDirectory\
If you have copied
your site to your server web folder, then
you will typically be using a directory like this:
\inetpub\wwwroot\YourWebApplicationVirtualDirectory\
- Go up a directory level and right-click on YourWebApplicationVirtualDirectory and click
on Properties. Select the Security tab - which should look like this in Windows
Server 2003:
- You now need to add a new set of permissions for two user names: ASPNET and
IIS_WPG. Click on Add... in the Security tab and enter
ASPNET in
the following box, then press OK. Then press Add... again to add
IIS_WPG.
- Still in the Security tab, select ASPNET and IIS_WPG in turn and check the
"Write" permission box in the "Allow" column.