Problem: When trying to access files within a specific directory within a WordPress blog, I would receive a server side 500 error. All other aspects of the blog were working fine.
Solution: The problem had to do with the web.config file within that specific directory. Somehow some other entries were inserted into it thus creating the error for every file. I reverted back to the default web.config and all worked fine. See below….
Default Web.Config:
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value=”index.php” />
<add value=”Default.htm” />
<add value=”Default.asp” />
<add value=”index.htm” />
<add value=”index.html” />
<add value=”iisstart.htm” />
<add value=”default.aspx” />
</files>
</defaultDocument>
</system.webServer>
</configuration>