Why this error occur?
It occurs as the application is not compatible with "Integrated Pipeline Mode" which is our default IIS 7.0 Setting.
Resolution:
Add the following line to your web.config file right before the </configuration> end tag:
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>