sbethune - 24 March 2006 04:24 PM
Just had the same problem and here’s what worked for me:
1. Go into IIS and confirm your site anonymous user: IUSR_<hostname>
2. Go to your ExpressionEngine folder and view the security settings for:
- path.php
- system folder (you may have named ‘system’ something else)
- system\config.php
- system\config_bak.php
3. Give the IUSR_<hostname> write access to these files
4. Complete the installation
Hope that helps!
Just to clarify a few things. For those that are having similar problems with permissions (unable to write to config.php file) on Windows Server 2008 & IIS7, just follow the first 3 steps above (to set the directory and file permissions for each of the files and folders and be sure to give the user “IUSR_<hostname>” read, write, and read & execute permissions to each of those files and folders above).
If you are using Windows Server 2008 & IIS7, then next you must go into ->START -> Administrative Tools -> Active Directory Users and Computers -> Click on “users” then right click on the user IUSR_<hostname>, then “reset the password” of the IUSR_<hostname>” account to something that you know (you need to write this password down or remember it).
Next, go into IIS 7 and click on the Server name at the root (just under Start Page) and you’ll see <hostname> Home root (just under Start Page). Click on the “Authentication” icon. You’ll see “Anonymous Authentication”, “ASP.NET Impersonation” and “Forms Authentication” as the three users. Click on “Anonymous Authentication” (make sure it’s enabled) and then on the right hand side of the screen click the “Edit” link.
It should say “Anonymous user identity:” and it should have two choices “Specific user:” and “Application pool identity”. If you notice the Specific user may be set as “IUSR”, this is an incorrect setting, and you need to change this to “IUSR_<hostname>”.
Click on the “set” button to change it, and enter the username “IUSR_<hostname>” and then enter the password that you assigned to that account (hopefully you wrote it down). Confirm the password again, then click “OK”.
Now IIS7 is setup correctly. Now go into IIS and right click on the host server, and click “stop” (shut the IIS server down, and then restart it). Once IIS comes back up, it should work fine.
Now your IIS 7 installation can properly authenticate, and the file permissions that you set earlier for the folders and files (in steps 1 thru 3) should actually work with IIS.
Now go back and try to re-run the “install.php” file, and complete the Expression Engine installation. The installation script should now work correctly, and ExpressionEngine should install.
If you have any additional questions, or problems… let me know.
Thanks,
Mark
P.S. I’m just posting this for archival purposes, in case anyone else stumbles across this thread with the same problem.