January 06, 2000 10:14 AM

Active Server Pages Takes the Bite out of Forms

Rating: (0)
Windows IT Pro
InstantDoc ID #7951
I occasionally have to build a Web site, an experience that is always humbling. My problem is that I don't do Web work often enough to build any real expertise, and the time between my Web adventures is usually long enough that I forget everything I learned on the previous project. Fortunately, HTML tags simplify Web work. And even if you forget the tags, you can use Microsoft Word or Microsoft FrontPage to handle them. But gathering information from forms for use on a Web page is a hassle.

I d...

ARTICLE TOOLS

You must be a paid Professional Member to access this entire article.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Monthly or Annual

Professional Membership

VIP Membership

Compare Member Benefits

Add a Comment

I, too, am very interested in this article as it describes exaclty what I require, but do not have the time (at the moment) to learn how to do it fully. However, upon running the page, despite copying exactly (at least I'm fairly sure), I get the following error:

Microsoft VBScript compilation error '800a0400'

Expected statement

/bpyoung/addtext.asp, line 14

option explicit

Bradley Young 5/29/2001 9:11:12 AM


This message is more for James R. Gregg. You might try the following to "clean up" your issue.
1. Make sure you end up with three files (form.html, addtext.asp and feedback.txt)
2. Place "Feedback.txt" into your C: directory, the other two into a directory in your wwwroot/inetpub folder. I placed mine in a folder named "CODE"
3. Make sure you have properly "shared" that folder for ASP purposes.
4. Access the files by typing http://localhost/CODE/form.html
5. Enjoy playing with the app.
I think your issue may have arisen out of not having your "ASP" file properly named. If you do it in notepad, you must make sure when you save your file that you select "all files" and not "text files" from the drop down box at th ebottom, otherwise your file could get saved like this 'addtext.asp.txt" which your computer will not process.

Good Luck

James Taylor 6/22/2000 3:08:22 PM


The article incorrectly states: "ASP scripts work only on Web servers running IIS or machines running Peer Web Services (PWS) 3.0." This is not accurate. Chili!soft has a product called Chili!ASP that allows ASP scripts to run on several flavors of windows. htttp://www.chilisoft.com

Dan M 6/15/2000 7:12:41 AM


Mark Minasi's Inside Out: "Active Server Pages Takes the Bite out of Forms" (February 2000) is a great article. What the article describes is exactly what I want to do. Will you send me the three files you reference in the article (form.html, addtext.asp, and feedback.txt)?
--­Cliff Airhart

Cliff Airhart 4/27/2000 3:53:44 PM


Here's a quick way to get form.html and addtext.asp: Go to Windows 2000 Magazine's online archive (http://www
.win2000mag.com/articles), scroll down and enter 7951 in the InstantDoc ID text box, and click Download the Code/Files in the Article Info box. Feedback.txt is just a blank file to start with, so you don't need to download it.
--­Mark Minasi


Mark Minasi 4/27/2000 3:53:44 PM


Did anyone else who tried this sample get the following error?
Technical Information (for support personnel)

Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/addtext.asp, line 6
("Scripting.FileSystemObject")

I copied the text from the article verbatim.

I found the article very exciting because I have been trying to learn ASP for the past few weeks. I would really appreciate some clarification on this if possible.

Thank you.........I always read your magazine and learn new tricks all the time.

James R. Gregg 2/5/2000 8:54:52 PM


You must log on before posting a comment.

Are you a new visitor? Register Here

windows server 2008 login scripts

I have 2 win2k8 servers one pdc and bdc. The domain is exampledom.com They are connected to 2 iscsi luns which replicate each other. We are running ac...222-96118

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

White Papers

Your remote offices contain valuable electronic data – are they adequately protected? Learn how proven technologies can reliably and cost-effectively back up a branch office from a central location, in real time, to disk or tape, and even utilize existing backup solutions.

Downloads

PacketTrap IT is a comprehensive and affordable network management and application monitoring solution that solves problems associated with bandwidth, network and application performance, and connectivity. Gain insight into your network - try PacketTrapIT free for 21 days!

Web Seminars

IT administrators have to solve a myriad of problems. This web seminar outlines the ten most common systems management pains - including managing highly distributed systems and dealing with data theft/loss – and the best practices to address each.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.