I am trying to run classic Asp pages in the IIS 7 Integrated pipe line mode. Thus, I have added following Handler mapping into Web.Config.
add name="ASPClassic"
path="*.asp"
verb="GET,HEAD,POST"
modules="IsapiModule"
scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll"
requireAccess="Script"
resourceType="Unspecified"
But, when .asp pages are being requested, Server Application Unavailable error is raised and the detailed application event log said that:
A request mapped to aspnet_isapi.dll was made within an application pool running in Integrated .NET mode. Aspnet_isapi.dll can only be used when running in Classic .NET mode. Please either specify preCondition="ISAPImode" on the handler mapping to make it run only in application pools running in Classic .NET mode, or move the application to another application pool running in Classic .NET mode in order to use this handler mapping.
Where did I go wrong?