While working with classic ASP on my Vista IIS 7 box.I encountered two different problems:

Firstly if you migrated your applications to IIS 7 or developing your new asp application and on browsing the asp page if you encountered error like 404.3

HTTP Error 404.3 - Not Found

Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

Upon checking Handler Mappings you won’t find mapping for *.asp to asp.dll. In that case you need to get ASP component installed  from Windows feature –> IIS –> WWW services –> Application Development feature –> ASP

(By Default ASP is not the installed on IIS 7 :) )

image

Secondly, I was having pretty simple two asp page.In one page I was including second page as following:

<!--#include virtual="/taxi/temp1.asp" –> . Upon browsing it failed with error:

“An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.”

For sure shot my application wasn’t throwing this custom error. Then who was in that case :(.
As as security feature on IIS 7,sending script error details to client browser has been turned OFF. You can revert back to default behavior to check actual error by going into

Features views  -> ASP –> Debugging Properties –> Send Errors To Browsers : set it to True –> Apply

image

After applying above setting actual error spit on the browser and ready to debug it further :)

Active Server Pages error 'ASP 0126'
Include file not found
/Taxi/index1.asp, line 10
The include file '/taxi/temp1.asp' was not found.

Till then Bye Happy