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

ASP pages won't work

Status
Not open for further replies.

qleader

Technical User
Dec 20, 2001
31
US
I trying to learn this ASP stuff. I' using IIS 5.0 on a Windows 2000 machine. I have PWS running and I think I have IIS configured correctly to run this. I have created a small .htm page with a form (see below). It will run the .asp docs provided with IIS with no problem.
<body>
<h1>Basic Input Form</h1>

<form action=&quot;basicform_process.asp&quot; method=POST>
Keywords: <input type=&quot;Text&quot; name=&quot;txtKeywords&quot; size=&quot;20&quot;><p>
<input type=&quot;Submit&quot; name=&quot;cmdSubmit&quot; value=&quot;Submit&quot;>
</form>

The .asp page for this is as followed:
<body>

<h1>Basic Form - Response</h1>

<p>You entered these keywords: <% = Request.Form(&quot;txtKeywords&quot;) %> </p>

<p>The cmdSubmit button's value is: <%= Request.Form(&quot;cmdSubmit&quot;) %> </p>
</body>

Every time I use the form in the .htm page it gives me the file download options. What can I do get this basic scripts to work fo me?
 
I was opening them by there actual physical path. I just tried opening it through the local web server and it WORKS..

Such a simple thing.

Thanks for you help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top