I have already enabled classic asp support on IIS for windows 7, and configured IIS web for classic asp,Yet .asp page is not being displayed?

4.6k views Asked by At

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.

1

There are 1 answers

12
user692942 On

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

  1. Goto Control Panel -> Programs and Features

  2. Select from the left navigation bar

    Turn Windows features on or off

  3. From the Windows Features dialog expand Internet Information Services -> World Wide Web Services -> Application Development Features and tick the option ASP this will also tick ISAPI Extensions if not already ticked (see image).

    Windows Features dialog

Configuring IIS Web for Classic ASP

  1. Open Administrative Tools -> Internet Information Services (IIS) Manager and select the website you wish to configure.

  2. In Features View under the IIS section select Handler Mappings check the existing mappings list that appears for a handler that points to *.asp if one doesn't exist select Add Script Map from the right hand navigation bar.

  3. Fill in the options as per the below image

    ClassicASP Handler

    IMPORTANT If using 64-bit and want to enable 32-bit support you may wish to use the 32 bit equivalent ISAPI DLL. See Dee's answer to How to enable ASP classic in IIS7.5

  4. Select the Request Restrictions button to open Request Restrictions dialog. The three images below detail the values that should be configured if not already set.

    Request Restrictions - Mapping

    Request Restrictions - Verbs

    Request Restrictions - Access