How do I test an ASP script?

This is a discussion on "How do I test an ASP script?" within the Classic ASP section. This forum, and the thread "How do I test an ASP script? are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 14th, 2006, 00:53
Junior Member
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Question How do I test an ASP script?

What is the usual way for testing an ASP script offline that will send form-data to an email address?

Do I have to run a mail-server program (smtp?) or something similar, and where would I put the script - in the route folder containing the html files or somewhere else?

Regards...

Last edited by a.jenery; Mar 14th, 2006 at 23:40.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 15th, 2006, 12:19
Junior Member
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I test an ASP script?

Any answers..?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 15th, 2006, 12:35
Junior Member
Join Date: Mar 2006
Location: uk
Age: 26
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I test an ASP script?

read this:
http://www.w3schools.com/asp/default.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 15th, 2006, 13:20
Junior Member
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I test an ASP script?

Many thanks for that.

Went to the link and found that I could test or run an ASP script locally if I download and install either Microsoft Personal Web Server (PWS) or Internet Information Services - IIS.

I opted for the instructions for IIS.

These are the instructions that I cut'n'pasted for those with Windows-XP Pro':

[Note: You cannot run ASP on Windows XP Home Edition.

1. Insert the Windows XP Professional CD-Rom into your CD-Rom Drive
2. From your Start Button, go to Settings, and Control Panel
3. In the Control Panel window select Add/Remove Programs
4. In the Add/Remove window select Add/Remove Windows Components
5. In the Wizard window check Internet Information Services, click OK
6. An Inetpub folder will be created on your harddrive
7. Open the Inetpub folder, and find a folder named wwwroot
8. Create a new folder, like "MyWeb", under wwwroot.
9. Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder
10. Make sure your Web server is running - its status can be checked by going into the Control Panel, then Administrative Tools, and double-click the "IIS Manager" icon
11. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page]
--

Here goes...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
test, asp, script

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone want to test this for me? split-visionz Webforumz Cafe 22 Jul 10th, 2007 08:54
How do I test an ASP script offline? a.jenery ASP.NET Forum 1 Mar 15th, 2006 16:12


All times are GMT. The time now is 16:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42