SunQuest
           IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 8th, 2004, 08:50 AM
StuH StuH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 StuH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Localstart.asp won't load

I'm running XP pro (sp2) and I can't get IIS working to load http://127.0.0.1/localstart.asp or http://localhost/localstart.asp. I've tried a lot of different suggestion on forums but still no luck!

I've tried the following:
1) Re-installed IIS as an administrator
2) I can ping 127.0.0.1 and localhost (returns 127.0.0.1) without any problems.
3) If I try http://127.0.0.1 this does not load
4) I get the same problem if I'm connected to the internet or not (connected via a Belkin wireless card and Belkin router & cable modem)
5) Changed the internet options in LAN setting for IE6.0

I have another PC connected to my home network running XP pro, SP2 (connected to the Belkin router via an ethernet connection) and this runs IIS without any problems.

Any help or suggestions would be much appreciated!
Cheers StuH

Reply With Quote
  #2  
Old December 8th, 2004, 09:05 AM
balamm's Avatar
balamm balamm is offline
Permanently Banned
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,742 balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 Days 12 h 8 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
You kinda took the long way around that, reinstalling and all.

It's a shame you weren't familiar with netstat -a or any of the netstat commands to see what's actually listening on open ports before going through all the rest of it.

Reply With Quote
  #3  
Old December 8th, 2004, 09:16 AM
StuH StuH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 StuH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by balamm
You kinda took the long way around that, reinstalling and all.

It's a shame you weren't familiar with netstat -a or any of the netstat commands to see what's actually listening on open ports before going through all the rest of it.


Hi Balamm,

Any suggestions on what I could try to get this working?

Thanks StuH

Reply With Quote
  #4  
Old December 8th, 2004, 03:50 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,703 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 33 m 53 sec
Reputation Power: 688
Does a simple asp page like <% response.write "whatever" %> saved as maybe test.asp work if you point your browser to http://localhost/test.asp

localstart.asp has some asp code that uses adsi and other server objects and isn't the simplest test page.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #5  
Old December 9th, 2004, 01:16 AM
balamm's Avatar
balamm balamm is offline
Permanently Banned
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,742 balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 Days 12 h 8 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
open a command prompt and type NETSTAT -a

then look through the list to see if IIS is actually running on an open port.

You'll get a list that looks like this

Active Connections

Code:
  Proto  Local Address          Foreign Address        State
  TCP    smileygen-c17cf:echo   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:discard  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:daytime  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:qotd   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:chargen  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:ftp    smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:smtp   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:nameserver  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:domain  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:finger  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:http   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:81     smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:pop3   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:epmap  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:https  smileygen-c17cf:0      LISTENING


The list will likely be longer, I've truncated it just for demo use.


this is what you want
Code:
TCP    smileygen-c17cf:81     smileygen-c17cf:0      LISTENING

My IIS runs on port 81 though so you'll be looking for something running on port 80.
You can also try port 443 (https) in case either your firewall or ISP is blocking port 80.

If you do see IIS running, type NETSTAT -a 5 and then try to connect to localstart.asp again while watching the active connections. You should get some idea if IIS is answering or not.
Have you tried a test html page yet?

That would show if it's an asp problem or just a configuration issue.

just something simple like
Code:
<center><h1>CONNECTION TEST<h1/></center>
saved in notepad to inetpup/wwwroot as index.htm

Reply With Quote
  #6  
Old December 9th, 2004, 09:07 AM
StuH StuH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 StuH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by balamm
open a command prompt and type NETSTAT -a

then look through the list to see if IIS is actually running on an open port.

You'll get a list that looks like this

Active Connections

Code:
  Proto  Local Address          Foreign Address        State
  TCP    smileygen-c17cf:echo   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:discard  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:daytime  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:qotd   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:chargen  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:ftp    smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:smtp   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:nameserver  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:domain  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:finger  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:http   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:81     smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:pop3   smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:epmap  smileygen-c17cf:0      LISTENING
  TCP    smileygen-c17cf:https  smileygen-c17cf:0      LISTENING


The list will likely be longer, I've truncated it just for demo use.


this is what you want
Code:
TCP    smileygen-c17cf:81     smileygen-c17cf:0      LISTENING

My IIS runs on port 81 though so you'll be looking for something running on port 80.
You can also try port 443 (https) in case either your firewall or ISP is blocking port 80.

If you do see IIS running, type NETSTAT -a 5 and then try to connect to localstart.asp again while watching the active connections. You should get some idea if IIS is answering or not.
Have you tried a test html page yet?

That would show if it's an asp problem or just a configuration issue.

just something simple like
Code:
<center><h1>CONNECTION TEST<h1/></center>
saved in notepad to inetpup/wwwroot as index.htm


Hi Balamm,

Many thanks for the above - I've tried loading both a test html and test asp file and neither work. I've run the netstat -a but can't find an entry for port 80 or port 443. Not completely sure what I'm looking for and how I would know which entry is for IIS? My other PC that is running IIS okay doesn't have port 80 or 443 entries but there are a lot of entries for localhost.

Any further assistance would be appreciated.
Thanks StuH

Reply With Quote
  #7  
Old December 9th, 2004, 09:10 AM
StuH StuH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 StuH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Does a simple asp page like <% response.write "whatever" %> saved as maybe test.asp work if you point your browser to http://localhost/test.asp

localstart.asp has some asp code that uses adsi and other server objects and isn't the simplest test page.


Hi Doug G,

Many thanks for the above - I've tried loading both a test html and test asp file and neither work. Checked that these test pages load okay on my other PC that is running IIS okay.

Any further assistance would be appreciated.
Thanks StuH

Reply With Quote
  #8  
Old December 9th, 2004, 11:53 AM
balamm's Avatar
balamm balamm is offline
Permanently Banned
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,742 balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level)balamm User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 Days 12 h 8 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
You're sure IIS is started in the internet services manager? No IP restrictions?

It kinda sounds like a SP2 firewall problem if IIS is in fact running.

I can't remember if you said you had confirmed that in services and in the task manager?

Reply With Quote
  #9  
Old December 9th, 2004, 01:20 PM
StuH StuH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 StuH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by balamm
You're sure IIS is started in the internet services manager? No IP restrictions?

It kinda sounds like a SP2 firewall problem if IIS is in fact running.

I can't remember if you said you had confirmed that in services and in the task manager?


Hi Balamm,

Yes, IIS admin is status started in services and the default web site is status running and the IP address is All unassigned. Again - thanks for your help on this.
Cheers StuH

Reply With Quote
  #10  
Old December 9th, 2004, 05:51 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,703 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 33 m 53 sec
Reputation Power: 688
If you're running any antivirus script blocking try turning it off. And as balamm said, verify that the www service is running. If it's hung at "starting" that's often caused by a firewall, try setting the www service to manual startup, reboot, and then restart the www service.

Reply With Quote
  #11  
Old December 10th, 2004, 04:00 AM
StuH StuH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 StuH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Doug G & Balamm,

I've been turning McAfee security centre off and testing everything (tried stopping and restarting the IIS servive manually) and no luck. The IIS Admin service is running according to services manager, it has status of 'Started'.

Any more ideas?
Cheers StuH

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Localstart.asp won't load


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |