ASP.NET Write-access problems with IIS in Worker Process Isolation Mode

J

Jesper

Im running Windows Server 2003 trying to get my ASP.NET applications
to access the file system.

My Web application needs to have write access to some folders in the
virtual directory from which it runs. The server is a domain
controller, so I don't have the ASPNET user to assign rights to.

I've tried several guides from several sites.. but none seem to work,
I keep getting the: "..Access to the path "..." is denied.

---
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typically
{MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if
the application is not impersonating. If the application is
impersonating via <identity impersonate="true"/>, the identity will be
the anonymous user (typically IUSR_MACHINENAME) or the authenticated
request user.

To grant ASP.NET write access to a file, right-click the file in
Explorer, choose "Properties" and select the Security tab. Click "Add"
to add the appropriate user or group. Highlight the ASP.NET account,
and check the boxes for the desired access.
---

I tried this: http://support.microsoft.com/default.aspx?scid=kb;en-us;315158
It didn't work, and the process on my machine wasn't called
"Aspnet_wp.exe", but "w3wp.exe".

Changing the username in the machine.config <processModel> tag didn't
do anything either.

The last thing I tried was this:
http://outlook.microsoft.com/techne...r2003/proddocs/standard/ca_cfgstddedmodes.asp
Where I changed the site to run in IIS 5.0 isolation mode, which
worked and I gained access to write. The process name changed from
w3wp.exe to aspnet_wp.exe.
Right now I'd just like to know if this IS the way to do it. Worker
process isolation is described as being far superior to IIS 5.0
isolation, so I'm keen on NOT using IIS 5.0 isolation and still having
access rights.

Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top