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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP won't run 1

Status
Not open for further replies.

WilliamMathias

Programmer
Sep 8, 2001
34
0
0
GB
Hi,

I'm running NT4 Server and IIS 3.0


I'm trying to write my 1st ASP script.

The content of the page is as follows:

<html>
<body>
This Page is
<%
Response.Write &quot;Working&quot;
%>
</body>
</html>

When I look at this page in my browser using the URL


all I get is:


This Page is



IIS is running it's web service and I think the permissions are OK.

Do I need to install ASP separately, Are my IIS settings wrong?

Thanks for your help in advance,

Will
 
Try adding this to the top of your ASP page:

<%@LANGUAGE=VBScript%>

it would be the very first line in the page. see if that works...
 
Having looked elsewhere on this site, could the answer be that I need to be running IIS ver 4, I'm currently running version 3.

If this is the case, could you tell me where to get it?
 
hmm...
I think that IIS 3.0 supports ASP... I'm not sure though.
I've only used IIS4.0... that's why I though the server directive would work.

Anyhow - if you need IIS 4.0, you can download it at microsoft.com. It's in NT Option Pack 4.0... you might even have it already if you have NT Option Pack 4.0 installed.

Sorry I can't tell you where on the site it is... I do know that's what it's called though.

best of luck
leo
 
IIS 3 required ASP functionality to be installed seperately, I had a nose round the MS web site, and couldnt find the download I'm afraid.

by the same token, IIS 4 not only adds ASP by default, and is free, but is much easier to configure and maintain than IIS3.

check out the option pack downloads on microsoft's web site for more info

for an overview of avaliable downloads.

I would stress that you should grab all the latest patches and updates, especially the Code Red Fixes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top