What user does classic asp run as?

asp-classic

Solution

I believe that by default classic asp will run under the iis user which is IUSR_MachineName. This can be changed in the IIS Manager.

Good references:

- http://kb2.adobe.com/cps/153/tn_15378.html

- http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=287

Problem

I have an asp page that saves a file to disk. Currently it works locally, but I need to save the file to a share and I get permission denied. I had assumed I could just set the app pool to the user that has access to the folder, but it doesn't seem to work. How do you make classic asp run as a specific user?

Original source