Isaac Whatever

I'm making this up.

Wednesday, April 16, 2008

 

IIS 5 to IIS 6 write permissions account change

I had an interesting issue at work today. We have some continuous integration automation that sets up daily install machines. The machines are different flavors of windows, from 2k to XP to 2k3. Part of our setup process was failing with the following error on an IIS6 box:

Access to the path "C:\our path" is denied.

Our permissions were setup exactly the same on both boxes. The ASP.NET account had full effective permissions to this file at this point in the setup process, and that worked on the IIS5 box.

But not on IIS6.

After some Google-Fu, I found the following forum post at dev.communityserver.com:

To eliminate this bug for me, I gave full control to IIS_WPG worker process account."
" * For IIS 5
o Give the ASPNET account this access.
* For IIS 6
o Give the application pool identity account (usually NETWORK SERVICE) this access."

This worked perfectly. Thank you Bill Bosacker.

To Recap-
The Error:
Access to the path "C:\our path" is denied.
The Question:
What has changed between IIS5 and IIS6 that would cause this permission issue?
The Fix:
Give permissions to IIS_WPG.

Labels: , , , , , , , ,






<< Home

Archives

May 2004   June 2004   July 2004   September 2004   October 2004   November 2004   February 2005   March 2005   April 2005   May 2005   June 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   April 2006   July 2006   September 2006   October 2006   February 2007   March 2007   April 2007   May 2007   November 2007   December 2007   January 2008   February 2008   March 2008   April 2008   May 2008   June 2008   July 2008   August 2008   October 2008   November 2008   December 2008   April 2009   January 2010   December 2010   January 2012   February 2012   March 2012   May 2012   September 2012   October 2013   January 2014   December 2014   April 2022  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]