Print Page | Close Window

newb to .asp and iss and need help

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18220
Printed Date: 30 March 2026 at 9:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: newb to .asp and iss and need help
Posted By: rbyikes
Subject: newb to .asp and iss and need help
Date 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?



Replies:
Posted By: Bluefrog
Date 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.



-------------
http://renegademinds.com/" rel="nofollow - Renegade Minds - Guitar Software http://renegademinds.com/Default.aspx?tabid=65" rel="nofollow - Slow Down Music


Posted By: rbyikes
Date 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.


Posted By: rbyikes
Date 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



Posted By: dpyers
Date 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.


Posted By: rbyikes
Date 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!


Posted By: dpyers
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net