Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 29th, 2004, 09:47 AM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Running ASP

Hi I am having problems trying to run ASP code on my PC.
I have a lap top and I have IIS on it running windows 2000.
When I type in simple ASP code and try viewing it in the browser, it displays
a blank page. But when I am connected to the internet it works. I want to be able
to do this off line. I have followed the steps in the ASP book but no help there.
Would anyone have any ideas???

 
Old April 3rd, 2004, 11:14 AM
Registered User
 
Join Date: Apr 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ameg
Default

If you have a blank page, the problem may not be with IIS. More likely the coding.
Copy and paste this one to Notepad,save the file as something.ASP.
Move it to your home directory or the default one(c:\inetpub\wwwroot). Open IIS, right click on the file, left click on 'browse' to see if it's work:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Case Select issue</title>
</head>

<body>
<form action="Done.asp" method=post>
Chose the month:<br>
<select name="Month">
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
<p>Chose the Date</p>
<select name="Date">
<p>Prefer date</p>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>

<br><br>
<input type=reset>
<p>
<input type=submit>
</p>



</form>
</body>

</html>

 
Old April 7th, 2004, 08:35 PM
Registered User
 
Join Date: Apr 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What about Done.asp ?
Valerie, you could make a page as follows:


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Case Select issue</title>
</head>

<body>

<%= Trim(Form.Request("Month")) %>
<%= Trim(Form.Request("Date")) %>
</body>

</html>


and save it as Done.asp


I'm David Forcer,
Welcome to my website!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running ASP page Aritra ASP.NET 1.0 and 1.1 Professional 1 April 20th, 2007 10:42 AM
ASP.net is not running farsfar2 ASP.NET 1.0 and 1.1 Basics 2 December 20th, 2005 01:18 PM
Running asp.net from asp... shenku ASP.NET 1.0 and 1.1 Professional 3 May 6th, 2005 12:58 PM
Running DTS from ASP KayDee157 Classic ASP Databases 2 May 31st, 2004 02:11 PM
running exe on asp Sarah Classic ASP Components 1 October 7th, 2003 10:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.