| Author |
Topic Search Topic Options
|
san1965
Newbie
Joined: 04 September 2009
Status: Offline
Points: 17
|
Post Options
Thanks(0)
Quote Reply
Topic: My First ASP Page Not Working! Posted: 04 September 2009 at 3:53pm |
Hi,
My first ASP page is not working, help!
I have followed the instructions given in the page: http://www.webwiz.net/kb/asp_tutorials/first_asp_page.asp, to the last dot. After creating the file, I transfered it to C:\INetPub\wwwroot folder. Then I gave the command: http://localhost/MyFirstASP.asp. Alternatively, I changed the "localhost" string to my computer's name. In both the cases, I get the message - HTTP 404 not found.
I also copied the asp file in a separate folder under "Web Sites" in the IIS snap-in. And tried running the file from there, but there it gave me absolutely no response.
What I am doing wrong? Why doesn't IIS recognize the ASP file? Is there something else that I need to install before the file will run?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2009 at 4:01pm |
|
It sounds like ASP is not enabled in IIS.
What OS are you using?
|
|
|
 |
san1965
Newbie
Joined: 04 September 2009
Status: Offline
Points: 17
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2009 at 4:12pm |
Hello,
Thank you for your help.
I am using XP Pro.
|
 |
san1965
Newbie
Joined: 04 September 2009
Status: Offline
Points: 17
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2009 at 4:24pm |
Hi again,
When I run http://localhost as it is, I get the message "HTTP 404 Not Found". Similarly, when I run http://<computer_name>, I still get the same message.
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2009 at 5:24pm |
|
Localhost, <computer_name>, <computer_ip_address>
Will all point to the same place and be treated as the same website.
|
|
|
 |
san1965
Newbie
Joined: 04 September 2009
Status: Offline
Points: 17
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2009 at 5:28pm |
Hello Scotty32,
Thank you for your inputs, much appreciated.
I don't understand why the first program is not working, as I have followed the instructions of the chapter exactly. What should be done to resolve the problem and proceed?
Thanks again...
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 07 September 2009 at 1:01pm |
The following may help as it tells you how to install IIS on XP Pro:- http://www.webwiz.net/kb/asp_tutorials/installing_iis_winXP_pro.asp
|
|
|
 |
san1965
Newbie
Joined: 04 September 2009
Status: Offline
Points: 17
|
Post Options
Thanks(0)
Quote Reply
Posted: 07 September 2009 at 1:18pm |
Hello WebWiz-Bruce,
Thank you for your help.
I used the very page pointed to by you to proceed with IIS installation, and then reached the page where the ASP program was discussed. Besides the default, I also later installed "Scripts" component, hoping that somehow that might solve the problem.
Between the IIS installation and the first ASP program, is there any step that I might be missing? What about installing ASP? Does ASP come pre-installed with Windows? Or does ASP also get installed when IIS is installed? Or is this something that I should have done separately, before venturing to run the ASP code?
Thanks, ...
|
 |