Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't Get Initial ASP Script to Run

Status
Not open for further replies.

jsteff

Technical User
May 22, 2003
109
US
I have:
Standalone PC
WinXP Pro
IIS 5.1 (installed and running)

I created the following ASP script (START.ASP) and saved it to \inetpub\ When I open my browser and enter " the response is: "The Page Cannot Be Found". Any Ideas?
<%@ Language-VBScript%>
<HTML>
<HEAD><TITLE>Starting ASP</TITLE></HEAD>
<BODY>
<%
Response.Write "I am your first ASP<BR>"
Response.Write Time
'Comments are written preceded by a single quotation mark ...
%>
</BODY>
</HTML>
 
This <%@ Language-VBScript%>
should be

this


<%@ LANGUAGE="VBScript"%>




<.

 
As a test, make a simple plain HTML file and put it in the same directory. Can you open it as ?

If not then you've got to get the IIS web server going first.

If you CAN see the simple HTML page then perhaps your IIS is not treating the web root as a web application. Fire up the IIS admin tool and right-click on "Default Web Site" and choose "Properties" from the popup menu. Then switch to the tab labeled "Home Directory." On the bottom half of that tab is a button that will either say "Create" or "Remove." Click it if it says "Create" but if it says "Remove" then click the button underneath it labeled "Configuration
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top