Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - newb to .asp and iss and need help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

newb to .asp and iss and need help

 Post Reply Post Reply
Author
rbyikes View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote rbyikes Quote  Post ReplyReply Direct Link To This Post Topic: newb to .asp and iss and need help
    Posted: 01 February 2006 at 1:35am
I have iis 5.1 on my windows xp pro machine, and I have gone through the set up tutorial. I cannot get my pages to open up via the browser address bar, I get a page not available message. I have tried to use the path 'http://localhost/aliasName'  (where 'aliasName' is, place the alias you called the virtual directory). I can't figure out where else to go. Any help?
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2006 at 12:31pm
Forget the virtual directory stuff - you don't need it to start. Just go with the basics then start in on the more advanced stuff.

Get your home directory set, then see if that works. You can also try the local loopback IP (127.0.0.1).

I usually change my hosts file as that's more convenient for me and more realistic for real world development. (I can process headers and stuff properly then.)

If you post back, paste the exact error and you'll get a better response from someone.

Back to Top
rbyikes View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote rbyikes Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2006 at 2:20am
I don't need to have a domain and an ip address to view it from iis do I? My understanding is that an .asp page needs to be processed through a web server in order to show the out come of the script. I don't know how else to view the pages I write.
Back to Top
rbyikes View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote rbyikes Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2006 at 2:30am

In iis my page folder shows that it is located in iis/local_computer/web_sites/default_web_site

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2006 at 2:27am
You might want to use your control panel to check the services and ensure that iis is started.

Also, if you use the iis admin panel to browse to your local site, there should be a right click option on your asp files to view it in a browser. 

If you can't execute the asp file that way, it's either a problem with iis or the code.
If you can execute it then the problem is with your code or with the address used in the browser - in addition to trying http://localhost/myfile.asp and http://127.0.0.1/myfile.asp, you might also try http://my-machine-name/myfile.asp.

Just right clicking on the file in the regular internet explorer wil put file://... in the browser instead of http://... - the file://... won't work.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
rbyikes View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote rbyikes Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2006 at 2:32am
Thanks for the post, I am not sure what I did different but it is up and running!
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2006 at 4:37pm
The iis service has depedencies on other services so sometimes it takes a reboot or two to sort out the sequence the services need to be started in.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

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.