ASP.NET Write Permissions

When writing a file from ASP.NET application, the target directory needs to have write permissions set for both the logged in account (maybe IUSER_[name]) and also the IIS_WPG account.

For example, writing a file to http://localhost/app/results, where the application root (http://localhost/app/) maps to C:\Inetpub\wwwroot\app\

The permissions on the root folder (C:\Inetpub\wwwroot\app\) can be readonly, but the permission on C:\Inetpub\wwwroot\app\results\ need to allow writing for IUSR and IIS_WPG accounts.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

A Website.

Up ↑

%d bloggers like this: