An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode
Solution 1: Ran the following command.
%SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/".
Solution 2: The solution it suggest is not straight forward enough. Simply put the error can be corrected by adding the following bold line in the web.config file
<configuration>
<system .webServer>
<validation validateIntegratedModeConfiguration=”false” />
</system>
</configuration>