Hutty
May 3rd, 2000, 11:35 PM
As a follow-up to a post a couple of weeks ago, I'm having difficulty running ASP files on PWS. I'm able to execute the an ASP file, but when it comes to using the GET, POST FORM and HTML FORMS methods I get the error "file not found". My investigation has led me to believe that maybe some attributes set where files are hidden or unable to execute. I gone into the Internet Information Server and set all the attributes to execute code and scripting. Not sure if the ASP.DLL file is a good file. I just can't seem to execute an ASP file to the end. Here's one of my sample codes. I know the result, but can't get there. In this case, the HTMLFormVariablesRevisited.asp can't be found.
Thanks!
<HTML>
<HEAD>
<TITLE>HTML Form Variables Revisited</TITLE>
</HEAD>
<BODY>
<P><FONT face="Comic Sans MS" size=4 style= "BACKGROUND-COLOR: #99FF00">
HTML Form Variables Revisited: Iterating Through Form Data</FONT></P>
<P><FONT face=Georgia>This ASP
application processes any HTML Form data entry field that you see below. Try it
out about adding a Form data entry field or two of your own and submitting the
Form!</FONT></P>
<FORM method=post action=HTMLFormVariablesRevisited.asp
id=DataEntryForm name=DataEntryForm>
<P>
<FONT face=Verdana><STRONG>Please enter your first name</STRONG></FONT>
<INPUT id=UserName name=FirstName value=Sanjaya ><BR>
<FONT face=Verdana><STRONG>Please enter your last name
<INPUT id=LastName name=LastName value=Hettihewa><BR></STRONG></FONT>
<FONT face=Verdana><STRONG>Please enter your city
<INPUT id=City name=City value="Silver Spring"><BR></STRONG></FONT>
<FONT face=Verdana><STRONG>Please enter your State
<select id=State name=State>
<Option id=MD name=Maryland >Maryland</OPTION>
<OPTION id=DC name=WashingtonDC >Washington DC</OPTION>
<OPTION id=VA name=Virginia >Virginia</OPTION>
<OPTION id=WV name=WestVirginia >West Virginia</OPTION>
<OPTION id=WA name=WashingtonState >Washington State</OPTION>
<OPTION id=OT name=Other >Other. Please specify:</OPTION>
</select>
Other
<INPUT id=OtherState name=OtherState><BR>
Which computer platforms do you use?</STRONG></FONT><BR>
<input type="checkbox" id=Prehistoric name=Prehistoric>Prehistoric
<input type="checkbox" id=Abacus name=Abacus>Abacus
<input type="checkbox" id=Pentium name=PenitumII>PentiumII
<input type="checkbox" id=PentiumPro name=PentiumPro>PentiumPro
<input type="checkbox" id=DECAlpha name=DECAlpha>DEC Alpha<BR>
<FONT face=Verdana><STRONG>Please enter any comments below<BR>
</STRONG></FONT>
<TEXTAREA cols=40 id=Comments name=Comments rows=4>
Any comments you type here will
properly retrieved by the ASP
application using the Form
collection. </TEXTAREA>
<P><BR>
<INPUT type=submit value="Submit name to ASP application"
id=SubmitButton name="Submit Button">
<INPUT type=reset value="Reset Form"
id=ResetButton name=reset1><BR>
</FORM>
</P>
</BODY>
</HTML>
Thanks!
<HTML>
<HEAD>
<TITLE>HTML Form Variables Revisited</TITLE>
</HEAD>
<BODY>
<P><FONT face="Comic Sans MS" size=4 style= "BACKGROUND-COLOR: #99FF00">
HTML Form Variables Revisited: Iterating Through Form Data</FONT></P>
<P><FONT face=Georgia>This ASP
application processes any HTML Form data entry field that you see below. Try it
out about adding a Form data entry field or two of your own and submitting the
Form!</FONT></P>
<FORM method=post action=HTMLFormVariablesRevisited.asp
id=DataEntryForm name=DataEntryForm>
<P>
<FONT face=Verdana><STRONG>Please enter your first name</STRONG></FONT>
<INPUT id=UserName name=FirstName value=Sanjaya ><BR>
<FONT face=Verdana><STRONG>Please enter your last name
<INPUT id=LastName name=LastName value=Hettihewa><BR></STRONG></FONT>
<FONT face=Verdana><STRONG>Please enter your city
<INPUT id=City name=City value="Silver Spring"><BR></STRONG></FONT>
<FONT face=Verdana><STRONG>Please enter your State
<select id=State name=State>
<Option id=MD name=Maryland >Maryland</OPTION>
<OPTION id=DC name=WashingtonDC >Washington DC</OPTION>
<OPTION id=VA name=Virginia >Virginia</OPTION>
<OPTION id=WV name=WestVirginia >West Virginia</OPTION>
<OPTION id=WA name=WashingtonState >Washington State</OPTION>
<OPTION id=OT name=Other >Other. Please specify:</OPTION>
</select>
Other
<INPUT id=OtherState name=OtherState><BR>
Which computer platforms do you use?</STRONG></FONT><BR>
<input type="checkbox" id=Prehistoric name=Prehistoric>Prehistoric
<input type="checkbox" id=Abacus name=Abacus>Abacus
<input type="checkbox" id=Pentium name=PenitumII>PentiumII
<input type="checkbox" id=PentiumPro name=PentiumPro>PentiumPro
<input type="checkbox" id=DECAlpha name=DECAlpha>DEC Alpha<BR>
<FONT face=Verdana><STRONG>Please enter any comments below<BR>
</STRONG></FONT>
<TEXTAREA cols=40 id=Comments name=Comments rows=4>
Any comments you type here will
properly retrieved by the ASP
application using the Form
collection. </TEXTAREA>
<P><BR>
<INPUT type=submit value="Submit name to ASP application"
id=SubmitButton name="Submit Button">
<INPUT type=reset value="Reset Form"
id=ResetButton name=reset1><BR>
</FORM>
</P>
</BODY>
</HTML>