This wiki is a place to start if you're looking for information on troubleshooting Drupal on IIS. If you've got a tool or ran into an issue and found a fiix for it, add it here!
Troubleshooting Tools and Resources
IIS7
- Article: Troubleshoot IIS7 errors like a pro, by M Volodarsky (fmr IIS7 project lead)
- HTTP Status Codes in IIS7
- Helpful article on translating .htaccess settings to IIS web.config settings
- The Process monitor tool from Microsoft's Sysinternals folks is a great tool to identify configuration and permissions errors with IIS
Issues and Problems with Drupal on IIS
Issues you may run into with running Drupal on IIS, and how to fix them. Please note the version of IIS to which the issue applies, if possible.
(Note - please add unresolved issues as discussions, so others may contribute).
- Global Redirect - IIS with ISAPI_ Rewrite & clean_url ends with endless loop
- File system permissions on sites/default/files - need to give the IIS process owner permissions
- Write protecting the settings.php file - I needed to do an 'attrib +r settings.php' from a cmd prompt to finally get the warning to go away.
- CTools/Panels - The solution on IIS7 to avoid a HTTP Result Code 400/Bad Request on AJAX containing colons(%3A encoded) is to use the .Net Framework 4.0 and add following to your web.config to remove colon from the invalid characters list:
<system.web>
<httpRuntime requestValidationMode="2.0" requestPathInvalidCharacters="*,&,\" />
</system.web>