I have an old application developed using classic ASP, it was running fine under Windows Server 2008 and IIS 7.0. We recently upgrade to Windows Server 2012 R2, since that the application is not running fine:
When I set the Detailed Errors to true IIS generate a web.config file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
After that the "500 - Internal server error" is occurred in all the pages, if I delete the web.config it works fine.
I need to enable the detailed errors to find out what is wrong with some pages, the errors are occurred after moving it to the new server.
Any idea why this is happening!!? And what I should do to enable detailed errors?
Thanks in advance.