Solved

Classic ASP & IIS 7

Posted on 2012-04-05
4
1,426 Views
Last Modified: 2012-04-07
Hello Experts,

I recently purchased a new PC with Win 7 Pro x64 / IIS 7 and still have my old machine with Win XP/ IIS 6 but I am having trouble running my Classic ASP code on IIS 7, I keep getting:

HTTP/1.1 New Application Failed

I arrived at this by going to http://localhost/Folder/subfolder/file.asp

Normally, under IIS 6 this works, but under IIS 7 do I need to do something special?
0
Comment
Question by:APD_Toronto
  • 2
4 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 250 total points
Comment Utility
Yes.  Classic is not enabled by default in IIS7.  See here: http://www.iis.net/ConfigReference/system.webServer/asp  One site said you had to install the 'asp.dll' also but I don't for sure.
0
 
LVL 10

Assisted Solution

by:gaurav05
gaurav05 earned 250 total points
Comment Utility
Hi ,

you need to install classic asp feature from add or remove windows components.

then use ASP.NET 1.1 application pool to run Classic asp application.
 
Let us know for further assistance.
0
 

Author Comment

by:APD_Toronto
Comment Utility
Still no luck.  

I went through the steps in the above link, same error.

I also ended up with these 2 files, which arre saved under my wwwroot.  

re my ApplicationHost.config, I tried setting location path="/" with hopes that it will affect all sub-folders of wwwroot.  I also tried location path="ABC", where ABC is a subfolder of wwwroot, and is conerted as an Application.

I've also tried removing IIS, deleting C:\Inetpub, and re-installing my IIS, the error persists.
ApplicationHost.config
web.config
My-IIS-Components.jpg
0
 

Author Closing Comment

by:APD_Toronto
Comment Utility
All is done via IIS MGR.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now