My .asp page is in the folder named "MyWeb", and "MyWeb" folder is under wwwroot folder which is under inetpub. I also added MIME types in IIS Manager for .asp as application/asp, and for .aspx as application/aspx I tried it a long but still it is not working. When I go to open that .asp file it is asking for download in IE browser and displaying a blank page in Mozilla Firefox. Please can any body tell me how to solve this issue?
ANSWER=
Issue solved I just changed the setting in IIS Manager set Enable Parent Paths to true and Send Errors To Browser to true and it happened. Localhost Home Page of IIS was displayed and my asp scripts are also running.
It possible that you haven't got Classic ASP support installed in IIS. To do this in Windows 7 follow the steps below;
How to enable Classic ASP support on IIS for Windows 7
Installing Classic ASP support
Goto
Control Panel
->Programs and Features
Select from the left navigation bar
From the
Windows Features
dialog expandInternet Information Services
->World Wide Web Services
->Application Development Features
and tick the optionASP
this will also tickISAPI Extensions
if not already ticked (see image).Configuring IIS Web for Classic ASP
Open
Administrative Tools
->Internet Information Services (IIS) Manager
and select the website you wish to configure.In
Features View
under theIIS
section selectHandler Mappings
check the existing mappings list that appears for a handler that points to*.asp
if one doesn't exist selectAdd Script Map
from the right hand navigation bar.Fill in the options as per the below image
Select the
Request Restrictions
button to openRequest Restrictions
dialog. The three images below detail the values that should be configured if not already set.