Solved

Classic ASP & IIS 7

Posted on 2012-04-05
4
1,452 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 37814901
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
ID: 37815879
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
ID: 37816998
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
ID: 37819617
All is done via IIS MGR.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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 viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

705 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