ASP testing problems

This is a discussion on "ASP testing problems" within the Classic ASP section. This forum, and the thread "ASP testing problems are both part of the Program Your Website category.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 12th, 2006, 10:17
Junior Member
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Question ASP testing problems

I still cannot for the life of me find a way of testing an ASP script that sends submitted form data (via the Submit button) to an email address, even though the ASP file is specified in the form action of the originating htm page, and even though I believe an actual test was done for me by the person who did the script.
I say 'believe', as I'm no longer 100% certain, even though I did recieve something resembling submitted form-fields (and coresponding values) in an email sent to me.

1. I installed IIS as instructed in directions via a URL that I was advised to go to by a moderator, which was in response to an earlier post. The instructions were/are as follows:
a. Insert Win-XP cd-rom
b. Go to Settings, then Control Panel
c. Select Add/Remove Programs.
d. In the Add/Remove window select Add/Remove Windows Components
e. Check for Internet Information Services in the Wizard window
f. A folder called Inetpub will be created on your hard drive
g. Open Inetpub and find a folder called wwwroot
h. Create a new folder in wwwroot
i. Save an ASP file in wwwroot
j. Make sure your Web server is running - its status can be checked by going into Control Panel, Administrative Tools and clicking on "IIS Manager" icon
k. Open your browser and type http://localhost/foldername/filename.asp" to view your first ASP page

Well, when I did this, all I got were error messages - hence my one or two previous posts on this problem.

No disrespect to webforumz, but I realised I was getting nowhere, so I contacted the person who did the script for me, and he told me to enter "http://127.0.0.1/DummyForm.htm" into the address bar of my browser - all I got was another error message.

I don't know what's going on? What, in plain english, do I have to do to test this form-to-email script (which is what this ASP script does)? If I cannot do this in a simple way on my PC, then how will I know that it will work on a host's server?

I am assuming (otherwise where is the test in all of this), indeed hoping, to be able to open the htm form page in browser view (i.e. as if I was a visitor to the site) , complete a form and then have the ASP script run upon hitting the 'submit' button, but when I do this at the moment, again, all I get is error messages.

I'm starting to think that my Web server via the IIS instalation isn't actally running as there is nothing actally showing under 'status'. As follows:
Computer Local Version Status
XYZ name(local pc) Yes IIS V5.1 < blank >

Any ideas?

Last edited by a.jenery; Apr 12th, 2006 at 10:20.
Reply With Quote

  #2 (permalink)  
Old Apr 14th, 2006, 02:04
Up'n'Coming Member
Join Date: Mar 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ASP testing problems

Personally I check if the server is running by opening an ASP page (through localhost of course).

I decided to verify if I could see if the server was running, the way you were told and I believe you can but you have to go to the part that says "default websites" under "local computer>websites" and when you click on "default websites" it says running. If/when you go to that part and it is not running you can press the PLAY triangle at the top to start it (I think). Same goes for the email server.
**I start, stop and verify the status of the server through the "services" tool also located in the administrative tools.**

I like using FF and if you try to connect to your localhost with it, it asks for a password; if it does this then you know it is working.
I don't know what password it wants or why it asks for it (tried to do some research but didn't find anything concrete) only when you use FF but it doesn't matter because you can still use your scripts perfectly fine. Just place a simple ASP script in the wwwroot folder and try to access it (localhost/simplescript.asp). If you did everything correctly you should be able to see it. If not then what error does it give you?

I am going look into; how to send emails through IIS and get back to you, possible tomorrow. I am using IIS 5.0 with xp pro although I don't think it should make much of a difference if you are using a different version.
Reply With Quote
Reply

Tags
asp, testing, problems

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
Testing Testing4K Job Opportunities 1 Oct 9th, 2007 16:25
Testing php typacolipse PHP Forum 9 May 24th, 2007 17:51
Testing ivan Web Page Design 3 Mar 4th, 2006 06:00


All times are GMT. The time now is 15:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43