Solved

How to trouble-shoot  NT4 for ASP setup ?

Posted on 2001-07-27
7
252 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
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!

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 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