|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
What's the default location of the site? something like (C:\Inetpub\wwwroot)
Is that where the asp pages are located? |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
and the asp page you want displayed in the browser is in that directory?
|
|
#5
|
|||
|
|||
|
It is in a subdirectory. Thats ok right?
Last edited by Jorg : March 30th, 2004 at 06:24 AM. |
|
#6
|
||||
|
||||
|
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) |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
||||
|
||||
|
Is IIS Security set to allow Anonymous Access?
|
|
#9
|
|||
|
|||
|
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. |
|
#10
|
||||
|
||||
|
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. |
|
#11
|
|||
|
|||
|
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 |
|
#12
|
|||
|
|||
|
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??? |
|
#13
|
|||
|
|||
|
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 |
|
#14
|
|||
|
|||
|
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. |
|
#15
|
|||
|
|||
|
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:
|