Solved

How to trouble-shoot  NT4 for ASP setup ?

Posted on 2001-07-27
7
250 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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 100 total points
ID: 6330037
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Select record with the most recent date 14 71
Button function on table is in trouble 3 35
Retreiving SOAP FAULT messages using classical ASP 14 31
Diff of the day 2 10
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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