I'm running WordPress on Windows 2008 / IIS 7 and I get a non-descript error when I try to upload a theme. It just says "Are you sure you want to do this?" and then a line below that says "Server error"
Here are a number of steps I had to take to resolve the issue:
If you're still having trouble create a PHP script with the following code:
Run this script and use it to verify that the above settings have been applied. If not, check for duplicate entries in the config file that may be overwriting your settings and verify you've edited the file listed in the output under
It took me a while to gather up all these pieces so hopefully anyone else having the same issue will end up here first. :)