Troubleshooting on IIS7
Table of contents for Installing WordPress On IIS From the Ground Up
- Installing MySQL on Windows
- Installing FastCGI on IIS6
- Installing PHP on Windows and IIS
- Installing phpMyAdmin on Windows and IIS 6.0
- Preparing to Install WordPress on Windows and IIS
- Installing WordPress (Single-User)
- Troubleshooting on IIS7
I’ve been setting up WordPress on Windows Server 2008 R2 lately and as part of trying to understand the issues fully - by installing, uninstalling, installing, etc., the last time through I forgot to create the database and the SQL user for WordPress. Unfortunately, when I connected to my website, all I got was the following error page:
No matter how I modified my WordPress configuration file, I couldn’t get anything more to be displayed, and none of the log files (PHP or IIS) contained any additional information. Turns out this is a security feature of IIS7 to prevent details of the web server (such as folder locations, etc.) from being displayed publicly. The solution is simple, if somewhat obscure.
To get IIS to display more detailed information, you must run the Configuration and change a setting. Here are the steps:
- From Internet Information Services (IIS) Manager (hereafter called IIS Manager), click on the website you are having trouble with in the tree view to the left. If you click on the server, your changes will apply to all websites.
- In the Management section, double-click on Configuration Editor.
- In the dropdown list next to the Section label, select system.webServer –> httpErrors.
- Change the errorMode to Detailed.
It’s likely that the value of errorMode is set to DetailedLocalOnly, but this value doesn’t help for troubleshooting a WordPress site since IIS won’t consider your access local even if you access it from the machine running IIS. Too bad really, since after you are done with your troubleshooting you will want to reset the value back to DetailedLocalOnly.
Resources
- PHP on Windows Server 2008 : 500 – Internal Server Error on IIS @ webdigi.co.uk


I turned to the dark side at the end of February and purchased an iPhone. I am so very impressed with it! Since then I have moved to a new computer (a laptop) and reinstalled the operating system (Windows 7). That means I have had to move what I sync my iPhone with twice ,and both times have been a little less than seamless; no data was lost but I expected it to be easier than it was.
From the menu bar:
From the device:
I was looking for a Windows Explorer extension that would allow me to browse ISO files as if they were simply a folder, similar to how Windows exposes that support for ZIP files. What I found is WAY better than what Windows providers.
I plan to install this utility on all machines in my household. It just makes managing container files so much simpler. Now, even though I’ve been gushing over it, the utility isn’t without its blemishes. There are a few things that could be done to improve it.
