?
Solved

How to trouble-shoot  NT4 for ASP setup ?

Posted on 2001-07-27
7
Medium Priority
?
253 Views
Last Modified: 2012-05-04
Hi,

i have a error-free sample ASP codes (attached) which works fine on someone's NT4:
- InetPub\wwwroot\Order.htm
- InetPub\scripts\Response.asp

However, on my NT4, i use Netscape to open Order.htm. When i click "SUBMIT" and Response.asp is supposed to be shown, nothing happens on my screen.

The same things happen when i use IE5.0. Nothing happens on the screen when i click "SUBMIT" in Order.htm. But i know Response.asp is being opened by the browsers.

My IIS(HTML) shows the Directories for Scripting is "InetPub\scripts" and for WWW is "InetPub\wwwroot". And, the login username in IIS(HTML) is Anonymous.

I have also tried login as "Anonymous".  

How could i trouble-shoot my NT4.0 for my ASP setup ? Is there a sample asp scripts in IIS(HTML) ?
 
Thanks.


---------------- Order.htm -------------------------

<HTML>
<HEAD><TITLE>Order Form</Title></Head>
<BODY>
Please give us some information, then click Submit.
<FORM METHOD=POST  Action=response.asp>
First Name: <INPUT NAME=fname SIZE=25><P>
Last Name: <INPUT NAME=lname SIZE=25><P>
Title:
<INPUT NAME=title TYPE=RADIO VALUE=mr>Mr.
<INPUT NAME=title TYPE=RADIO VALUE=ms>Ms.
<HR><INPUT TYPE=SUBMIT><INPUT TYPE=RESET>
</FORM>
</BODY>
</HTML>

---------------- Response.asp ---------------------

<HTML>
<HEAD><TITLE>Response Form </TITLE></Head>
<Body>
<%Title = Request.Form("Title")
LastName = Request.Form("lname")
If LastName = "" Then %>
Invalid Data Entry !
<% Else %>
Thanks for placing an order
<% If Title = "mr" Then %>
Mr. <% = LastName %>.
<% ElseIf Title="ms" Then %>
Ms. <% = LastName %>.
<% Else %>
<% = Request.Form("fname") & " " & LastName %>.
<% End If
End If %>
</BODY>
</HTML>


0
Comment
Question by:collinng
[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
7 Comments
 
LVL 7

Expert Comment

by:John844
ID: 6328245
sounds stupid, but try changing
<HEAD><TITLE>Response Form </TITLE></Head>
<Body>

to
<HEAD><TITLE>Response Form </TITLE></HEAD>
<BODY>

netscape is very picky about everything.
0
 
LVL 7

Expert Comment

by:John844
ID: 6328267
does the browser just show a blank screen?  if so verify that the html is in the source.  If it is then make sure that all of your html tags are closed, meaning for every tag like <HTML> you have a matching closing tag </HTML>.


Or is the problem that the form is not submitted?

if your page shows exactly what your asp contains including the <% ...%> items, then you have a problem with your asp.dll.  To fix that problem you can reinstall IIS.
0
 
LVL 3

Expert Comment

by:MikeRenz
ID: 6328301
seems like your IIS just isn't set up with execute permissions on the directory you are putting your .asp files.  Open up your MMC (microsoft management console) and check the permissions on the different directories of your website.

Also...you MUST access the web page through a virtual path...not through a file path.  So you cannot just open the html file from windows explorer, becuase it'll use a regular path such as "c:\inetpub\wwwroot\order.htm"  Instead you need to use a path such as:

http://localhost/order.htm

and then the webserver will know that you are accessing the file and will process the .asp accordingly.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 10

Expert Comment

by:KenAdney
ID: 6328302
Or you could just make it simpler, couldn't you?  In lines 10-16 it could read:

<%= Title %> <%= Lastname %>
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6328376
Try this;

<%
Title = Request("title")
LastName = Request("lname")
...
0
 

Author Comment

by:collinng
ID: 6328815
Qn Owner here...
Just to update after above comments...i tried changing to Title = Request("title"), or using path name not file name.  There is still the same msg (below)

I realized IE5.0 and Netscape4.01 display the same error msg "Http 501 not implemented / not supported".

Just fyi. Any comments ? Thanks in advance.
0
 
LVL 5

Accepted Solution

by:
dgorin earned 400 total points
ID: 6330037
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

770 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