Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old March 30th, 2004, 06:07 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cannot access localhost

I try to access my ASP site in IIS. If I try to open the site IE gets stuck and does not give any error message or return to operation for several minutes (I even tried waiting for 10 minutes looping at the hourglass, hoping for some error message but all I got was the hour glass).

Some info:
- I work with XP professional (upgraded from XP Home)
- the ASP code is 100% ok (works fine locally on other machines and even worked well on this machine before)
- IIS runs (pinging 127.0.0.1 is no problem, and if I restart IIS when the site is stuck it directly gives me a error message)

History:
I first ran xp home on this machine and tried to install IIS with the work around that is available everywere. It worked fine in the beginning but then without a clear reason for me all of a sudden I got the same problem as discribed before. To solve this I installed Xp Pro. In the beginning this also worked out well. The site I want to run worked perfect. Now yesterday I tried to start it again (I have a presentation in two days where I need this site locally) and .... didn't work. I cannot think of a thing I changed that could have influenced this.

I checked all info I could find via Google (also the similar problem in this Forum) but all solutions do not work.

Thanks a lot for your help!

Reply With Quote
  #2  
Old March 30th, 2004, 06:15 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
What's the default location of the site? something like (C:\Inetpub\wwwroot)
Is that where the asp pages are located?

Reply With Quote
  #3  
Old March 30th, 2004, 06:17 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Default

Yep. Default is like you say. All files are in or in sub directories of C:\Inetpub\wwwroot. I also created virtual directory for this particular site (wich like stated worked well before and now for some strange reason is causing this problem).

Last edited by Jorg : March 30th, 2004 at 06:20 AM.

Reply With Quote
  #4  
Old March 30th, 2004, 06:21 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
and the asp page you want displayed in the browser is in that directory?

Reply With Quote
  #5  
Old March 30th, 2004, 06:21 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It is in a subdirectory. Thats ok right?

Last edited by Jorg : March 30th, 2004 at 06:24 AM.

Reply With Quote
  #6  
Old March 30th, 2004, 06:23 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
what is the full path to the page? What is the name of the page?
you should be able to access it by doing this (in internet explorer)

Reply With Quote
  #7  
Old March 30th, 2004, 06:28 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Nope. This is what causes the system to hang. In fact after trying a few times it triggers a new error message:

HTTP 403.9 - Toegang verboden: Te veel gebruikers
Internet Information Services


This is Dutch for: Access forbidden - Too many users.

Reply With Quote
  #8  
Old March 30th, 2004, 06:32 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
Is IIS Security set to allow Anonymous Access?

Reply With Quote
  #9  
Old March 30th, 2004, 06:43 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
anonymous access

Yes it is. But I have a quetion whether I did it right.


If I open the IIS manager I can set anonymous acces in three ways:
1. right click on "websites" directory and then do it via the menu (where my user name is ASUS\IUSR_ASUS and the password area is blank).
2. Via the "Standardwebsite" the same procedure.
3. Via the virtual subdirectory of this site. Also same procedure.

I did all 3 just to be sure.

Is this ok? Does not solve the problem though.

Last edited by Jorg : March 30th, 2004 at 07:07 AM.

Reply With Quote
  #10  
Old March 30th, 2004, 08:07 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
Right Click the site
Click Properties
Click Directory Security Tab
Click Edit button under Anonymous Access Authentication control.
Click Anonymous Access checkbox at top left.

Reply With Quote
  #11  
Old March 30th, 2004, 10:12 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 9 m 49 sec
Reputation Power: 181
If you are running Norton antivirus script blocking (or other av script blocking) try turning it off, reboot, & see if that fixes your problem.

You may have some leftover crud from the attempted XP home IIS kludge, you might try a complete uninstall of IIS, reboot, then reinstall. Make sure you are an administrator when you reinstall.

Here is a troubleshooting guide for IIS5.0, I think there is a similar article for IIS5.1 if you search msdn

http://support.microsoft.com/defaul...kb;en-us;309051
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #12  
Old March 31st, 2004, 03:13 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
progress but stil not working

Thanks for your suggestions.

I deleted all adaptions made whilst working with XP Home (the workaround) and re-installed all like you suggested. This gives an improvement. I am now able to view http://localhost. However if I try to open my site I still get an hourglass for minutes and no error message.

Tried a lot of things:
restart pc
restart iis
put my site in root directory
check all properties

Nothing helps.

Like said before I im 100% sure my site is ok since it works on other pc's and since it even worked om the machine I am now working on.

Do you have any suggestions what could still be causing this problem? The only thing i can think of myself is that maybe I cannot connect to the database (a simple access databse). But than again this would cause error messages right? In 24 hours I have to present this site on this machine so I am getting a bit stressed a you can imagine.

Just some added information: I am not very experienced with IIS so I might overlook something very simple???

Reply With Quote
  #13  
Old March 31st, 2004, 07:03 AM
Jorg Jorg is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 8 Jorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problem solved

After two days of stress the problem is finally solved (just in time for my presentation tomorrow).

After starting to edit the iis.dll today I realy got into trouble, since no new Microsoft program could be installed or uninstalled anymore. I could not even re-install xp pro anymore!

The only solution I could think of then was a system recovery. So I went back to a date where I remembered IIS to work fine. And yep...that did the trick.

Next time I thing of this option BEFORE working on a problem for over 2 days!!!

Anyway. Thanks a lot for your help. And ... if you ever find out what could have caused my problem. Please let me know.

Cheers,
Jorg

Reply With Quote
  #14  
Old April 14th, 2004, 09:07 AM
Lezzles Lezzles is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 11 Lezzles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 56 m 42 sec
Reputation Power: 0
I've seen this problem before and I wish I had an answer for you, but it seemed to fix itself somehow. I thought I was going mad as I couldn't work out what was going on. The pages worked fine from every client I tried, but getting anything on localhost was impossible.

I eventually gave up trying to solve it; I was happy that clients could access the site so left it as one of those things. Going back to the server a week or two later, localhost was fine. I don't remember editing any settings that could have affected this, but I suppose there must have been something.

Weird.

Reply With Quote
  #15  
Old September 22nd, 2004, 11:57 AM
mrdanny mrdanny is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 mrdanny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How to do system recovery

Dear Jorg,

How do you do your system recovery? I have your previous problem at my computer as well. I wish to your matter to solve it.

Thanks.

Danny

Quote:
Originally Posted by Jorg
After two days of stress the problem is finally solved (just in time for my presentation tomorrow).

After starting to edit the iis.dll today I realy got into trouble, since no new Microsoft program could be installed or uninstalled anymore. I could not even re-install xp pro anymore!

The only solution I could think of then was a system recovery. So I went back to a date where I remembered IIS to work fine. And yep...that did the trick.

Next time I thing of this option BEFORE working on a problem for over 2 days!!!

Anyway. Thanks a lot for your help. And ... if you ever find out what could have caused my problem. Please let me know.

Cheers,
Jorg

Reply With Quote