| Author |
Topic Search Topic Options
|
rbyikes
Newbie
Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |
Bluefrog
Senior Member
Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
rbyikes
Newbie
Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
rbyikes
Newbie
Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
rbyikes
Newbie
Joined: 01 February 2006
Location: United States
Status: Offline
Points: 6
|
Post Options
Thanks(0)
Quote Reply
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!
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |