Background
I'm running Windows 2003 Server. I have IIS installed and it's running. In IIS Manager under my server, I have three directories - Application Pools, Web Sites, and Web Extensions.
Application Pools is DefaultAppPools and is "running"
Under Web Extensions I have the following "allowed": Active Server Pages, ASP.NET v1.1.4322, Internet Data Connector, Server Side Includes, and WebDAV
Under WebSites I have a subdirectory for my website called "atnopro" and it's set to a default directory in Inetpub/wwwroot/atnopro
The Problem
I can't get .asp files to execute (HTML files display just fine) - Using MSIE 6
Additional info
I'm using the following script to test ASP
<%@ Language="VBScript" %>
<% Option Explicit %>
<!--- This page should display "ASP is working!" --->
<!--- if ASP is available to you. --->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<HEAD>
<TITLE>ASP Test Page</TITLE>
</HEAD>
<BODY>
<% Dim TestString %>
<% TestString = "ASP is Working!" %>
<H1>
<% Response.Write TestString %>
</H1>
</BODY>
</HTML>
- <%@ Language="VBScript" %>
- <% Option Explicit %>
- <!--- This page should display "ASP is working!" --->
- <!--- if ASP is available to you. --->
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <HEAD>
-
-
- <TITLE>ASP Test Page</TITLE>
- </HEAD>
- <BODY>
-
- <% Dim TestString %>
- <% TestString = "ASP is Working!" %>
- <H1>
- <% Response.Write TestString %>
- </H1>
- </BODY>
- </HTML>
I uploaded this code to my internet domain as default.asp and it executes fine, so I know the script is good. It won't execute on my local server. What it does do is display a blank page. When I hit refresh it displays a text version of the above code in my browser window.
I did notice when I checked properties on my server that there was no MIME type for .asp, so I added .asp with a MIME type of application/x-asap
Still no joy. For my IIS website properties I have SCRIPT SOURCE ACCESS, READ, and WRITE "enabled". Execute Permissions are set to "Script Only" and Application Pool is "Default AppPool". Default Script language is VBScript.
I know I'm probably missing something very simple, but after 3 hours of trying to do it myself, I figured it was time to ask for help. Thanks in advance.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.