Resolving Error 500 messages in IIS7
Add the following to the Web.config file to help diagnose Server 500 errors on IIS7.
<configuration> <system.webServer> <httpErrors errorMode="Detailed" /> <asp scriptErrorSentToBrowser="true"/> </system.webServer> <system.web> <customErrors mode="Off"/> <compilation debug="true"/> </system.web> </configuration>