Solved

ASP.NET, IIS 6: HTTP/1.1 New Application Failed

Posted on 2007-11-22
10
2,995 Views
Last Modified: 2010-04-21
I have a new installation of Server 2003 with IIS 6 running and serving simple static pages successfully. I'd like to get Active Server Pages working so I can teach myself ASP scripting. I added a file called default.asp to C:\Inetpub\wwwroot. The file only contains:

<html>
<body>
<%
Response.Write("<h1>Hello World!</h1>")
%>
</body>
</html>

When I point a browser to this page, all it shows is:  HTTP/1.1 New Application Failed.

Both the ASP.NET Machine Account and the Internet Guest Account have Read & Execute, List, and Read rights for the wwwroot folder. Also, in IIS Manager Web Service Extensions, Active Server Pages, ASP.NET v1.1.4322 and ASP.NET v2.0.50727 are all Allowed.

I'm new at this and have never used IIS before. Any suggestions? By the way, I installed PHP on this server and it seems to be working.

Jim
0
Comment
Question by:JamesPhelan
10 Comments
 
LVL 23

Expert Comment

by:Ashish Patel
ID: 20339336
Go to iis and check which site is pointing to your C:\Inetpub\wwwroot folder and then check in the Documents tab in website's property and check if Default.asp is added in default content page.
0
 
LVL 7

Expert Comment

by:MHenry
ID: 20340017
If the above didn't work, are you pointing the browser by using:
http://localhost/yourfolder/default.asp

I don't think you can just point directly to the file with asp. I know you can't with .Net but it's been a while since I used asp.

Best,
MH

0
 
LVL 9

Accepted Solution

by:
Bob Stone earned 500 total points
ID: 20340112
Did you enable ASP in Server roles?

See this article for instructions on how to do so.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9fc367dd-5830-4ba3-a3c9-f84aa08edffa.mspx?mfr=true 
0
 
LVL 29

Expert Comment

by:rdivilbiss
ID: 20340627
I agree with stone5150...ASP is not enabled by default in IIS 6.x
0
 
LVL 37

Expert Comment

by:samtran0331
ID: 20341641
One thing to keep in mind is that there is a major difference between ASP and ASP.Net.
Since your test page is "default.asp", IIS will see this as a classic "ASP" page, which is enabled in IIS without doing anything special; so I"m not sure stone5150's suggestion applies.

mhenry might be on a closer track....when you say you "point the browser to the page"...in the browser, are you browsing to:
c:\inetpub\wwwroot\default.asp
or are you browsing to:
http://localhost/default.asp
?

it should be the latter.



is this server on a domain? if yes, also check out this article:
http://support.microsoft.com/default.aspx/kb/210842
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:JamesPhelan
ID: 20341727
Thanks for the suggestions. I'll address them in order (sort of):

I only have one website on the server; it's the Default Website that was installed when I activated IIS, and Default.asp is in the content list in the Documents tab of the site's Properties. It's at the top of the list.

As for MHenry's and samtran0331's comments, are you referring to the difference between just opening the file with a web browser on the server and having the file actually served up by IIS? I'm accessing the file from another machine on my network by entering the IP address of the server into the browser on the other machine, so it's being served up by IIS.

According to the link supplied by stone5150, there are two ways to enable ASP. The first is to do it when you activate the Application Server role. The second is through Add/Remove Windows Components in the Control Panel. I couldn't remember if I had enabled it when I activated the role, but when I looked at the Details of the Application Server in the Windows Components Wizard, ASP.NET was already checked.

It seems like it should work!

0
 

Author Comment

by:JamesPhelan
ID: 20341729
Oops, I left out one thing, the server is not part of a domain.
0
 
LVL 37

Expert Comment

by:samtran0331
ID: 20342993
have you checked the event logs on the server?
0
 

Author Closing Comment

by:JamesPhelan
ID: 31410800
After following the link provided by stone5150, I found another article which suggested that the IIS Application Server role should be installed after the .NET framework is installed. In order to be sure that this was the case, I removed the Application Server role and re-installed it. Now the server succesfully prcoesses and serves both .asp and .aspx pages.

Thanks to everyone for your help.

Jim
0
 

Author Comment

by:JamesPhelan
ID: 20344381
After following the link provided by stone5150, I found another article which suggested that the IIS Application Server role should be installed after the .NET framework is installed. In order to be sure that this was the case, I removed the Application Server role and re-installed it. Now the server succesfully prcoesses and serves both .asp and .aspx pages.

Thanks to everyone for your help.

Jim
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS 8.5 3 33
SSRS 2012 URL 11 57
IIS6 Virtual SMTP server resends old email after reboot 13 50
IIS authorization for web service or reading header data on a webservice post 1 29
Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

21 Experts available now in Live!

Get 1:1 Help Now