Click here to Skip to main content
15,797,923 members
Articles / Web Development / IIS

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

Rate me:
Please Sign up or sign in to vote.
4.42/5 (16 votes)
22 Oct 2009CPOL2 min read 291.2K   35   9
How to setup IIS 6.0 on Windows 7 to allow Classic ASP sites to run


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.

Image 1

Step 2 - Create New AppPool for ASP

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

Image 2

Right click on your newly created App Pool --> Advanced Settings.
Set "Enable 32 Bit Applications" to TRUE.

Image 3

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.

Image 4

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.

Click to enlarge image

Additional Resource


  • 15th October, 2009: Initial version
  • 22nd October, 2009: Article updated


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

PraiseNice Pin
Member 118651123-Aug-16 17:31
Member 118651123-Aug-16 17:31 
Questionworks well.. Pin
tembz24-May-12 4:15
tembz24-May-12 4:15 
Answerworks like a charm Pin
Muzztein9-Nov-10 10:04
Muzztein9-Nov-10 10:04 
GeneralThank you very much , you saved my day Pin
raajesshh12-Jul-10 3:30
raajesshh12-Jul-10 3:30 
QuestionHow to Setup IIS 6.0 on Windows 7 to Allow Classic ASP Sites to Run Pin
AllanShafton23-Jun-10 15:11
AllanShafton23-Jun-10 15:11 
AnswerThank you: A necessary post Pin
Member 86867726-Oct-09 13:23
Member 86867726-Oct-09 13:23 
GeneralMy vote of 1 Pin
Ruchit S.23-Oct-09 22:24
Ruchit S.23-Oct-09 22:24 
GeneralError in title Pin
Richard Deeming20-Oct-09 8:27
mveRichard Deeming20-Oct-09 8:27 
GeneralRe: Error in title Pin
hackcat20-Jan-10 18:20
hackcat20-Jan-10 18:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.