Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - My First ASP Page Not Working!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

My First ASP Page Not Working!

 Post Reply Post Reply Page  123>
Author
san1965 View Drop Down
Newbie
Newbie


Joined: 04 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote san1965 Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 September 2009 at 4:01pm
It sounds like ASP is not enabled in IIS.

What OS are you using?
Back to Top
san1965 View Drop Down
Newbie
Newbie


Joined: 04 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote san1965 Quote  Post ReplyReply Direct Link To This Post Posted: 04 September 2009 at 4:12pm
Hello,
Thank you for your help.
I am using XP Pro.
Back to Top
san1965 View Drop Down
Newbie
Newbie


Joined: 04 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote san1965 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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.
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
san1965 View Drop Down
Newbie
Newbie


Joined: 04 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote san1965 Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
san1965 View Drop Down
Newbie
Newbie


Joined: 04 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote san1965 Quote  Post ReplyReply Direct Link To This Post 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, ...
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.