How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

 

Introduction

By default, Classic ASP sites will not run in IIS 7.5 on Windows 7 because of it being on the 64 bit platform and Classic ASP built to run on 32 bit.

I encountered a problem with a Classic ASP website that I run off my localhost which makes use of a Microsoft Access Database. In most cases, ASP is not setup by default with IIS 7.5. This page will give you the 3 steps that I followed to set this up and get my site up and running again.

Using the Code

Step 1 – Enable ASP

Start -> Control Panel -> Programs and Features -> Turn Windows Features On or Off. Make sure that ASP is checked.

How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

 

Step 2 – Create New AppPool for ASP

Start -> Control Panel -> Administrative Tools -> IIS Manager. Application Pools -> Add Application Pool.

2 How to Setup IIS 6.0 on Windows 7 to Allow Classic ASP Sites to Run

2. How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

Right click on your newly created App Pool –> Advanced Settings. Set “Enable 32 Bit Applications” to TRUE.

3 How to Setup IIS 6.0 on Windows 7 to Allow Classic ASP Sites to Run

3 How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

 

Step 3 – Site Setup

Create your new Website in IIS. Ensure that it uses your newly created AppPool. This can be set by going to the Advanced Settings of your Website.

How to Setup IIS 6.0 on Windows 7 to Allow Classic ASP Sites to Run

How to Setup IIS 6 on Windows 7 to Allow Classic ASP Sites to Run

A Default Error page is setup to handle any errors that may occur when your site is running. Whilst this may be great in a live environment, for development and debugging you may want to see the actual errors. Prior to IIS 7.5, you would just have to Turn off “Show Friendly HTTP Error Messages” in your browser settings, but now you have to specify this in your website ASP properties. Select the ASP Properties of your website and then proceed to set the Debugging Properties -> “Send Errors To Browser” to TRUE. You should also set Behaviour -> “Enable Parent Paths” to TRUE. This will allow the usage of “..” commonly found in ASP applications.

Leave a Reply

Your email address will not be published. Required fields are marked *

The CAPTCHA cannot be displayed. This may be a configuration or server problem. You may not be able to continue. Please visit our status page for more information or to contact us.